em-redis exec issue

8 views
Skip to first unread message

DeFirence

unread,
Aug 3, 2010, 12:14:29 PM8/3/10
to Redis Clients Development
I am using http://github.com/astro/em-redis which appears to be the
only
em-redis fork with a working multi/exec command, for the most part.

When using multi/exec, followed by mget, exec only returns a partial
response of the commands sent after multi and the next mget returns
the
rest.

Test case: http://pastie.org/1072930

If anyone who has experience with em-redis can help with this issue, i
would
greatly appreciate it as there is no alternative EventMachine based
redis
library.

Eugene Pimenov

unread,
Aug 3, 2010, 2:07:33 PM8/3/10
to redis-cl...@googlegroups.com
Hello DeFirence,

It couldn't handle nested multi-bulk responses. Try the following patch

http://github.com/libc/em-redis/commit/428834549609cd6f349d47df9790889eeb13968e

Tell me if you will have any problem with it :)

Thanks,

Reply all
Reply to author
Forward
0 new messages