redis-rdb-tools icon indicating copy to clipboard operation
redis-rdb-tools copied to clipboard

add support for rdb v9 (redis 5.0) and memory analysis of streams

Open oranagra opened this issue 7 years ago • 10 comments

oranagra avatar Jun 19 '18 14:06 oranagra

@sripathikrishnan just to make sure we don't step on each other toes...

oranagra avatar Jun 19 '18 14:06 oranagra

Great, thanks for the reminder!

sripathikrishnan avatar Jun 20 '18 05:06 sripathikrishnan

Just to be sure there's no misunderstanding, what I meant is that I've started working on this.

oranagra avatar Jun 20 '18 05:06 oranagra

@sripathikrishnan @oranagra Is this work complete? Based on the PR, looks like it is 👍

I am trying to import which I believe is redis 5.0.3 with a file header REDIS0009. I just get an empty json object.

Does the library have support for it? Also do you have documentation on DEBUG or TRACE flag for the tool?

jerrygb avatar Feb 16 '19 12:02 jerrygb

@jerrygb the streams support at the moment is just in the memory analyzing aspects. no support in the json and other features, since we didn't implement listpack decoding yet. PRs are welcome 8-)

oranagra avatar Feb 16 '19 13:02 oranagra

Thank you for the update @oranagra

jerrygb avatar Feb 17 '19 13:02 jerrygb

@oranagra Weird enough, I am also not able generate a memory report/analysis with a sample v9 file format. Are there specific breakpoints or traces within the code you can point me to before I dig deeper into the source?

Thanks in advance.

jerrygb avatar Feb 17 '19 13:02 jerrygb

@jerrygb what do you mean? are you getting any error? if so, please post it. what version of redis-rdb-tools are you using? what command line did you use?

oranagra avatar Feb 18 '19 16:02 oranagra

@oranagra i am not able to generate json from rdb which contains streams. Is it supported ?

akshayvijapur avatar Jul 15 '20 05:07 akshayvijapur

@akshayvijapur no that's not supported yet. see https://github.com/sripathikrishnan/redis-rdb-tools/issues/128#issuecomment-464348680

oranagra avatar Jul 15 '20 06:07 oranagra