Metastarx opened a new pull request, #11543: URL: https://github.com/apache/rocketmq/pull/11543
### Which Issue(s) This PR Fixes - Fixes #11542 ### Brief Description A receipt-handle lock waiter could time out, enter without acquiring the semaphore, and then release a permit it never held. The timeout now limits only how long a caller waits, so put, get, remove, and renewal cannot take ownership from a pending renewal. A renewal releases its permit when its future completes, and a callback that throws before returning a future releases it immediately. I verified that concurrent callers time out while renewal is pending, that completion restores exactly one permit, and that both callback failure paths leave the handle usable. ### How Did You Test This Change? `mvn test -pl proxy` - passed (Tests run: 466, Failures: 0, Errors: 0, Skipped: 3) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
