RockteMQ-AI commented on issue #11174: URL: https://github.com/apache/rocketmq/issues/11174#issuecomment-5711051775
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a well-documented bug in the gRPC ACK path. The issue correctly identifies that `AckMessageActivity.getHandleString` removes the proxy-managed receipt-handle mapping before the Broker ACK completes, and if the ACK fails exceptionally, the mapping is never restored. **Root Cause:** The remove-before-ACK ordering means exceptional failures leave the system in an inconsistent state where client retries cannot resolve to the latest renewed handle. **Impact:** Proxy message acknowledgment reliability. Clients may experience ACK failures after auto-renewal replaces their receipt handle. **Severity:** High - affects message delivery guarantees in production. **Assessment:** The proposed fix scope is appropriate: - Restore mappings on exceptional ACK completion - Handle batch ACK symmetrically - Preserve existing success-path behavior A regression test demonstrating the failure mode would strengthen the fix. 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]
