hiddenid01 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

master slave keys command problem #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.config master and slave
2.command "set foo bar" on master
3.command "get foo",show "bar"
4.command "keys *" on slave

What is the expected output? What do you see instead?
expected 'foo', but see 'empty list'

What version of the product are you using? On what operating system?
2.1.7(2.2 alpha5),on centos 5.3 x64

Original issue reported on code.google.com by homk...@gmail.com on 25 Nov 2010 at 12:29

GoogleCodeExporter commented 9 years ago
I've managed to reproduce this issue with 2.1.8 (RC1). On a master-slave setup 
(both running the same version), issuing a "keys *" on the slave will only list 
keys that have an expiry value set.

Dumps are still correct and loading them on another server shows all the keys.

Let me know if you want me to try to narrow it down or if you need more 
information.

Original comment by tftfmac...@gmail.com on 13 Jan 2011 at 5:11

GoogleCodeExporter commented 9 years ago
Thanks for reporting, this is now fixed in the 2.2 branch (as well as in the 
unstable branch of Redis).
Please verify if you can.

Original comment by anti...@gmail.com on 14 Jan 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Seems to be fixed, thanks for your hard work!

Original comment by tftfmac...@gmail.com on 14 Jan 2011 at 9:48

GoogleCodeExporter commented 9 years ago
Thank you, closing :)

Original comment by anti...@gmail.com on 14 Jan 2011 at 10:53