redis-node icon indicating copy to clipboard operation
redis-node copied to clipboard

Possible issue on RPOPLPUSH method inside transaction block

Open ezeq-10 opened this issue 10 years ago • 1 comments

Hi, First of all, thanks for the lib, you have done an excellent work.

I'm getting this error text WRONGTYPE Operation against a key holding the wrong kind of value when using RPOPLPUSH and the destination list is not created yet, inside a transaction.

Actually, I think that the error text is showed because if list doesn't exists, is creating as String, not as list

I send a StackOverflow link with an example. http://stackoverflow.com/questions/32487602/redis-node-rpoplpush-method

ezeq-10 avatar Sep 09 '15 20:09 ezeq-10

Sorry!, i found the error, i was using redis-scheduler to make the list expires and catch the event. that converts list key to a string. Thanks for your great job doing this lib.

ezeq-10 avatar Sep 10 '15 22:09 ezeq-10