I'm seeing this strange behavior. I do a lpush
to a key. There is a different service that listens to key notifications and tries to lpop
the value. But strangely it returns null. If I do a lindex
with 0 as index, I get the value. So, I know for sure the value is available. I can see that using redis-cli
. But lpop
does not return the value.
I use redis 2.8.13 and Jedis Java framework. Can someone please help?