Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.34k stars 572 forks source link

[BUG] blpop returns same value for different clients with multimaster/activereplica #820

Open qveensi opened 5 months ago

qveensi commented 5 months ago

Describe the bug

LPUSH/BLPOP does not work correctly after starting in multimaster/replica After redis-cli -h 10.1.16.100 LPUSH test a b c returns same value for different clients

To reproduce

client1# redis-cli -h 10.1.16.100 blpop test 0
1) "test"
2) "c"

client2# redis-cli -h 10.1.16.100 blpop test 0
1) "test"
2) "c"