You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] Releasing lock in Future.whenComplete() may lead to the lock not being properly released when using ThreadPoolExecutor with DiscardOldestPolicy.
#8877
Open
3 tasks done
qianye1001 opened this issue
Oct 30, 2024
· 0 comments
· May be fixed by #8916
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
any
RocketMQ version
any
JDK Version
any
Describe the Bug
Releasing lock in Future.whenComplete() may lead to the lock not being properly released when using ThreadPoolExecutor with DiscardOldestPolicy.
look this function:
org.apache.rocketmq.proxy.common.ReceiptHandleGroup#computeIfPresent
Steps to Reproduce
What Did You Expect to See?
unlock properly
What Did You See Instead?
can not release lock
Additional Context
No response
The text was updated successfully, but these errors were encountered: