Open redlsz opened 1 month ago
Transaction log indicates that the broker cannot find producer channel when trying to call client CheckTransactionState.
In this case, the producer send message before its first heartbeat, which causes offline misjudgement when scanning at ClusterTransactionService#scanProducerHeartBeat. Eventually, this producer will not be registered to brokers.
Before Creating the Bug Report
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
[X] I have searched the GitHub Issues and GitHub 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
unreleated
RocketMQ version
5.x
JDK Version
1.8
Describe the Bug
In transaction message scenario, the first time execution result was UNKNOW. We expected to receive broker's check request later, but did not.
Steps to Reproduce
What Did You Expect to See?
TransactionListener#checkLocalTransaction will be called
What Did You See Instead?
TransactionListener#checkLocalTransaction has not been called
Additional Context
No response