Why COMMAND INFO for BLPOP differs from BRPOP? Which one is correct?
127.0.0.1:6379> command info blpop brpop
1) 1) "blpop"
2) (integer) -3
3) 1) write
2) noscript
4) (integer) 1
5) (integer) -2
6) (integer) 1
2) 1) "brpop"
2) (integer) -3
3) 1) write
2) noscript
4) (integer) 1
5) (integer) 1
6) (integer) 1
Comment From: badboy
Looks like that is actually a small bug, it should be -2 (the second to last argument) for the last key.
127.0.0.1:6379> COMMAND GETKEYS BRPOP A B C 1
1) "A"
127.0.0.1:6379> COMMAND GETKEYS BLPOP A B C 1
1) "A"
2) "B"
3) "C"
127.0.0.1:6379>
Fix is in #2599