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

Use unwatch between multi and exec, and throw NullPointException when executing Exec #1614

Closed
dismasson opened this issue Sep 29, 2017 · 1 comment

Comments

@dismasson
Copy link

dismasson commented Sep 29, 2017

Expected behavior

Unwatch can be exec before execution

Actual behavior

Use unwatch between multi and exec, and throw NullPointException when executing Exec

Steps to reproduce:

    jedis.watch("key");
    Transaction transaction = jedis.multi();
    jedis.unwatch();
    transaction.set("key","value");
    transaction.exec();

Jedis version:

2.9.0

Java vcersion:

1.7

@sazzad16
Copy link
Collaborator

Resolved by #2031 and #2032

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