RockteMQ-AI commented on issue #11170: URL: https://github.com/apache/rocketmq/issues/11170#issuecomment-5711063752
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a valid bug in the Proxy transaction subscription management. The issue correctly identifies that `DefaultTransactionSubscriptionManager.updateSubscriptionData` unconditionally removes the existing topic subscription before registering the new one, which breaks the first producer heartbeat. **Root Cause:** The unconditional `removeTopicSubscription` in `updateSubscriptionData` clears the subscription before the new one is registered, causing the first heartbeat to fail. **Impact:** Transaction message producers experience subscription loss on first heartbeat, potentially causing message routing failures. **Severity:** Medium-High - affects transaction message reliability during producer initialization. **Assessment:** The proposed fix is appropriate: - Preserve the existing subscription until the new one is successfully registered - Ensure atomic update semantics This is related to the broader transaction message lifecycle management issues in Proxy. 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]
