Export to GitHub

redis - issue #389

master slave keys command problem


Posted on Nov 25, 2010 by Grumpy Cat

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

Comment #1

Posted on Jan 13, 2011 by Grumpy Kangaroo

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.

Comment #2

Posted on Jan 14, 2011 by Grumpy Dog

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.

Comment #3

Posted on Jan 14, 2011 by Grumpy Kangaroo

Seems to be fixed, thanks for your hard work!

Comment #4

Posted on Jan 14, 2011 by Grumpy Dog

Thank you, closing :)

Status: Verified

Labels:
Type-Defect Priority-Medium