You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in the unstable branch (but possibly in the other ones too). Try doing
the following on a clean Redis instance (in this order):
1. Client A blocks on 'BRPOPLPUSH a b 0'
2. Client B runs 'LPUSH a data1 data2 data3'
Result: 'a' is empty and 'b' contains only "data1". AOF and replication shows
the same.
The reason is that rpoplpushHandlePush calls rewriteClientCommandVector when
the first item is pushed to 'a' and that interferes with the pushing of the
other items. Even if pushGenericCommand was changed so that it would push all
the items regardless (using a local copy of them), the replication and AOF
would only register one of the items. This seems to require some minor redesign
to fix it.
Everything works when BRPOPLPUSH isn't involved, of course.
Original issue reported on code.google.com by hampus.w...@gmail.com on 7 Sep 2011 at 6:55
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
hampus.w...@gmail.com
on 7 Sep 2011 at 6:55The text was updated successfully, but these errors were encountered: