leonchen83 / redis-rdb-cli

Redis rdb CLI : A CLI tool that can parse, filter, split, merge rdb and analyze memory usage offline. It can also sync 2 redis data and allow user define their own sink service to migrate redis data to somewhere.
Apache License 2.0
423 stars 85 forks source link

--largest doesn't work #80

Closed dsewnr closed 4 months ago

dsewnr commented 4 months ago

Ask a question --largest doesn't work

Describe the bug I got more than N results when I specify --largest N.

To Reproduce Steps to reproduce the behavior: rct -f mem -s rdbfile -o outputfile -l 3000

Expected behavior It should have only 3000 records in outputfile.

Screenshots None

Version(run rct --version or rct -V and paste the information):
v0.9.5, v0.9.6

Additional context None

dsewnr commented 4 months ago

It was my mistake.