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

Fixed - releaseConnection may not execute correctly #5883

Merged
merged 2 commits into from
May 20, 2024

Conversation

seakider
Copy link
Contributor

@seakider seakider commented May 20, 2024

  1. use redis-cli "set test test"
  2. run the code
    RBatch batch = client.createBatch(BatchOptions.defaults().executionMode(ExecutionMode.REDIS_WRITE_ATOMIC)); batch.getAtomicLong("test").incrementAndGetAsync(); batch.executeAsync();

that will cause a RedisException, then the connection that 'batch' used will not release.

Signed-off-by: seakider <seakider@gmail.com>
@mrniko mrniko added the bug label May 20, 2024
@mrniko mrniko added this to the 3.30.1 milestone May 20, 2024
@mrniko mrniko merged commit 54a3a09 into redisson:master May 20, 2024
4 checks passed
@mrniko
Copy link
Member

mrniko commented May 20, 2024

Thanks for contribution!

@seakider seakider deleted the fix_connection_release branch May 21, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants