Redis 2.2.11
A MONITOR command transforms BRPOPLPUSH INTO RPOPLPUSH if it returns a value
before the timeout, else it correctly shows BRPOPLPUSH
A list with 3 objects that gets 6 BRPOPLPUSHes looks like this:
1313538362.827309 "RPOPLPUSH" "trans:1" "trans:2"
1313538362.827355 "RPOPLPUSH" "trans:1" "trans:2"
1313538362.827391 "RPOPLPUSH" "trans:1" "trans:2"
1313538362.827423 "BRPOPLPUSH" "trans:1" "trans:2" "1"
1313538362.836824 "BRPOPLPUSH" "trans:1" "trans:2" "1"
1313538362.904593 "BRPOPLPUSH" "trans:1" "trans:2" "1"
Now that we understand the logic, I almost like it this way, as it allows a
determination from MONITOR as to whether BRPOPLPUSH returned a value or timed
out. As such, I'm not necessarily requesting that this be resolved--just
making everyone aware of it.
Original issue reported on code.google.com by deanwba...@gmail.com on 17 Aug 2011 at 8:54
Original issue reported on code.google.com by
deanwba...@gmail.com
on 17 Aug 2011 at 8:54