RockteMQ-AI commented on issue #10941: URL: https://github.com/apache/rocketmq/issues/10941#issuecomment-5303061840
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The `clearGroup` receipt-handle loss on executor rejection has been verified against the current `develop` branch. **Root Cause:** In `DefaultReceiptHandleManager.java` (line ~253-254), `clearGroup` removes the group from `receiptHandleGroupMap` before submitting the cleanup task. If `returnHandleGroupWorkerService.submit()` throws `RejectedExecutionException` (queue full or shutting down), the group is already removed and cannot be retried by the next scheduled scan. **Impact:** The Proxy silently loses receipt-handle state without sending the intended clear/renew request. Affected handles remain in limbo until they expire naturally. **Severity:** Medium — affects Proxy handle lifecycle under high load or shutdown scenarios. **Verified at:** `proxy/src/main/java/org/apache/rocketmq/proxy/service/receipt/DefaultReceiptHandleManager.java:249-255` An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by RockteMQ-AI* -- 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]
