hackpar / redis

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

Keys command fails on slave instances. #429

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set up 2 instances in master-slave mode
2. Send SET test 1 to master.
3. Send KEYS test* to master.
4. Send KEYS test* to slave.
5. Send GET test to slave.

What is the expected output? What do you see instead?
Keys seems to be working fine on the master, but not on the slave. It doesn't 
happen with all the keys requests though, seems to be focused on regular 
expressions that affected a very small number of keys 1,2,3 or so.

What version of the product are you using? On what operating system?
Redis 2.2.0-rc2 on Ubuntu 10.10 32 bits.

Please provide any additional information below.
AOF enabled on slave, all saving disabled on master, not sure if this affects.

Original issue reported on code.google.com by jam...@gmail.com on 5 Jan 2011 at 4:25

GoogleCodeExporter commented 8 years ago
Attached info command output from master and slave.

Original comment by jam...@gmail.com on 5 Jan 2011 at 4:31

Attachments:

GoogleCodeExporter commented 8 years ago
I believe this is a duplicate of #389

In my experience, the AOF setting doesn't affect it.

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