laixintao / iredis

Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.
https://iredis.xbin.io
BSD 3-Clause "New" or "Revised" License
2.52k stars 102 forks source link

Cannot use the `RESTORE` command. #467

Closed JoverZhang closed 10 months ago

JoverZhang commented 11 months ago

Cannot use the RESTORE command.

To reproduce:

iredis  1.13.1 (Python 3.11.3)
redis-server  7.2.0
Home:   https://iredis.io
Issues: https://iredis.io/issues
127.0.0.1:6379> set a 1
OK
127.0.0.1:6379> get a
"1"
127.0.0.1:6379> dump a
"\x00\xc0\x01\x0b\x00O\xa7Z\xc5,\x9e\xf8u"
127.0.0.1:6379> restore b 0 "\x00\xc0\x01\x0b\x00O\xa7Z\xc5,\x9e\xf8u"
(error) ERROR DUMP payload version or checksum are wrong
laixintao commented 10 months ago

Thanks for reporting, I will take a look

laixintao commented 10 months ago

Fixed in latest version, will release soon

laixintao commented 10 months ago

released in 1.13.2