Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupted watch-ed transaction returns true instead of null #23

Open
gvko opened this issue Jun 21, 2019 · 1 comment
Open

Interrupted watch-ed transaction returns true instead of null #23

gvko opened this issue Jun 21, 2019 · 1 comment

Comments

@gvko
Copy link

gvko commented Jun 21, 2019

Scenario:

  1. (client 1) Run watch on a key
  2. (client 1) Set timeout of 10 sec for starting multi + modifying the key
  3. (client 2) Modify key
  4. (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.

@moaxaca
Copy link
Owner

moaxaca commented Jun 21, 2019

I will look at this thank you for the reproducible steps. 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants