RockteMQ-AI commented on issue #1323: URL: https://github.com/apache/rocketmq-clients/issues/1323#issuecomment-5364736497
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a valid resource leak bug. When a `receive` RPC returns `MESSAGE_NOT_FOUND`, the inflight request counter is not decremented, causing a gradual leak that eventually blocks all subsequent receive operations on the PushConsumer. **Root Cause:** The inflight count increment happens before the RPC call but the decrement only occurs on successful message delivery, not on `MESSAGE_NOT_FOUND` responses. **Impact:** Consumer eventually stops receiving messages entirely — critical for long-running applications. **Severity:** high The fix should ensure the inflight counter is decremented in all code paths (success, not-found, and error). --- *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]
