RockteMQ-AI commented on issue #10941: URL: https://github.com/apache/rocketmq/issues/10941#issuecomment-5394929502
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The issue is clear: `clearGroup` removes the handle group from the map before the cleanup task is submitted, and if the executor rejects the task, the group state is lost permanently. **Root Cause:** Remove-before-submit pattern in `DefaultReceiptHandleManager.clearGroup` — no rollback on `RejectedExecutionException`. **Impact:** Receipt handles are silently dropped, preventing proper message acknowledgment/ renewal. Over time this can cause messages to be redelivered unnecessarily or expire. **Severity:** Medium The proposed fix (retain/restore group on rejection, log without leaking handle contents, add regression test) is well-scoped. --- *Automated evaluation by github-manager* -- 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]
