async-redis
async-redis copied to clipboard
Interrupted watch-ed transaction returns true instead of null
Scenario:
- (client 1) Run
watchon a key - (client 1) Set timeout of 10 sec for starting
multi+ modifying the key - (client 2) Modify key
- (client 1) Exec the multi
Client 2 returns true, whereas it should return null, since the watched key has been modified from another client.
I tested the same scenario with redis and it works as expected. The problem is that I have to promisify it with Bluebird.
I will look at this thank you for the reproducible steps. 🍻