sripathikrishnan/redis-rdb-tools

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

oranagra opened this issue · 10 comments

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

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

Great, thanks for the reminder!

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

@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 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-)

Thank you for the update @oranagra

@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 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 i am not able to generate json from rdb which contains streams. Is it supported ?

@akshayvijapur no that's not supported yet. see #128 (comment)