majialoong opened a new issue, #11622: URL: https://github.com/apache/rocketmq/issues/11622
### Before Creating the Bug Report - [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment CentOS ### RocketMQ version branch: develop version: 5.5.1 ### JDK Version JDK 21 ### Describe the Bug When a Remoting producer sends a transactional message through the Remoting Proxy (cluster mode), `SendMessageActivity` forwards the prepare message directly to the broker without recording transaction data in `TransactionDataManager`. When the producer then sends `END_TRANSACTION` (`fromTransactionCheck=false`) to commit or roll back the transaction, `TransactionActivity` always calls `messagingProcessor.endTransaction(...)`, which looks up `TransactionDataManager`. Since no entry exists, `TransactionProcessor` fails with `TRANSACTION_DATA_NOT_FOUND` and the oneway commit/rollback request is silently dropped. ### Steps to Reproduce 1. Deploy RocketMQ Broker and Proxy in cluster mode. 2. Connect a `TransactionMQProducer` (Remoting client) to the Remoting Proxy endpoint (e.g., port `8080`). 3. Send a transactional message and return `COMMIT_MESSAGE` or `ROLLBACK_MESSAGE` in `executeLocalTransaction`. ### What Did You Expect to See? The producer's `END_TRANSACTION` (commit/rollback) request is forwarded directly to the broker so the half message is committed or rolled back immediately, without waiting for or triggering a broker transaction check (`checkLocalTransaction`). ### What Did You See Instead? The producer's commit/rollback request is silently dropped by the Proxy. The half message remains pending on the broker until the transaction check timeout expires and triggers `checkLocalTransaction` (or stays invisible permanently if the producer exits before the check). ### Additional Context _No response_ -- 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]
