RockteMQ-AI commented on issue #1331: URL: https://github.com/apache/rocketmq-clients/issues/1331#issuecomment-5394958729
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Clear infinite recursion bug. `__execute_receive_later` calls itself without a proper base case or depth limit when handling certain retry scenarios, causing `RecursionError` stack overflow. **Root Cause:** Unbounded recursive call in `__execute_receive_later` — should use iterative approach or bounded retry with backoff. **Impact:** Python PushConsumer crashes with `RecursionError` under specific retry conditions, causing complete consumer failure. **Severity:** High (crash/data loss risk) **Suggested fix:** Convert the recursive call to an iterative loop with a maximum retry depth, or use `asyncio` scheduling to avoid stack growth. --- *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]
