Lachim / redis

Automatically exported from code.google.com/p/redis
2 stars 0 forks source link

master-slave DEL replication missing #494

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of Redis you are using, in what kind of Operating System?
Linux 2.6.32-28-generic on x86_64
Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 8 cores
Ubuntu 10.04.2 Server Edition

What is the problem you are experiencing?
master-slave DEL replication missing

What steps will reproduce the problem?
n/a

Do you have an INFO output? Please past it here.
See attachment

If it is a crash, can you please paste the stack trace that you can find in
the log file or on standard output? This is really useful for us!

Please provide any additional information below.

I write data on master (127.0.0.1 19200), and enable replication on slave 
(127.0.0.1 19201) (SLAVEOF 127.0.0.1 19200)

output from MONITOR on 127.0.0.1 19201 (abstract)

+1300878466.939130 "get" "TW:stream:word:love:snapshot:html"            << note0
+1300878469.786997 "SETEX" "TW:stream:word:love:snapshot:html" "60" 
"my-data"   << note1
+1300878486.857687 "ttl" "TW:stream:word:love:snapshot:html"            << note1
+1300878540.606610 "ttl" "TW:stream:word:love:snapshot:html"            << note2
+1300878543.837304 "get" "TW:stream:word:love:snapshot:html"            << note3
+1300878547.953064 "DEL" "TW:stream:word:love:snapshot:html"            << note4
+1300878550.827755 "get" "TW:stream:word:love:snapshot:html"            << note5

note0 ) GET correctly without response
note1 ) key created on master, correctly replicated on slave
note2 ) TTL = some positive value
note2 ) TTL = -1
note3 ) GET with unespected result also with TTL = -1
note4 ) DEL originated *after* my own "redis-cli -p 19200 get 
TW:stream:word:love:snapshot:html"
note5 ) GET with result (nil) 

Original issue reported on code.google.com by massimo....@gmail.com on 23 Mar 2011 at 11:53

Attachments: