ezmobius/redis-rb — Issue #182: lpop returning 'OK'
Author: clifff
Created: 2012-02-24 17:13:10+00:00
State: open

Hello,

In our production environment, we have been getting intermittent, but frequent errors where redis.lpop is returning "OK". Specifically, this is happening when Resque is trying to [pop jobs off of a queue.](https://github.com/defunkt/resque/blob/master/lib/resque.rb#L157) I've been logging the state of the queue itself, and have no reason to believe that there really is an 'OK' string being stored in there.

A little more information on our stack:
* redis-rb 2.2.0
* hiredis 0.4.4
* resque 1.20.0
* resque-pool 0.2.0

Some googling suggests that "OK" is returned when redis [executes transactions](http://redis.io/topics/transactions), so maybe that is what happening?