You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "redlsz (via GitHub)" <gi...@apache.org> on 2025/09/11 07:23:50 UTC
[I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
redlsz opened a new issue, #8316:
URL: https://github.com/apache/rocketmq/issues/8316
### 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
unreleated
### RocketMQ version
5.x
### JDK Version
1.8
### Describe the Bug
<img width="1775" alt="image" src="https://github.com/apache/rocketmq/assets/103550934/e3c684c0-99ff-4c16-9079-970ec64da0bd">
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
1. Startup server in proxy cluster mode
2. Startup a remoting TransactionProducer
3. Sleep 5 seconds before sending one transaction message, and return UNKNOW in TransactionListener#executeLocalTransaction
4. Keep TransactionProducer running and don't send more messages
5. Observe whether TransactionListener#checkLocalTransaction will be called
### 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_
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-5642099587
This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8316: [Bug] Transaction producer didn't receive CheckTransacationState request of pending message
URL: https://github.com/apache/rocketmq/issues/8316
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-2993179029
This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8316: [Bug] Transaction producer didn't receive CheckTransacationState request of pending message
URL: https://github.com/apache/rocketmq/issues/8316
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-3278834985
> <img alt="image" width="1460" src="https://private-user-images.githubusercontent.com/103550934/341330429-d2c4ae89-a555-431e-9e95-2643a20b8047.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTc1NzU1NTYsIm5iZiI6MTc1NzU3NTI1NiwicGF0aCI6Ii8xMDM1NTA5MzQvMzQxMzMwNDI5LWQyYzRhZTg5LWE1NTUtNDMxZS05ZTk1LTI2NDNhMjBiODA0Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDkxMVQwNzIwNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NjU2NDBiZGVjN2I3YjhhOWIxZDgwYjc0MDBjYzE2ODdhYjZhMmZlZWFhNDVhOTkzN2NhZGY4MGY0ZTY1MjJiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.A7Al7Ufhir4Gv8Sn6CXbuzha8MgRJqlzd_FNPzuPLUI">
> Transaction log indicates that the broker cannot find producer channel when trying to call client CheckTransactionState.
>
> <img alt="image" width="1907" src="https://private-user-images.githubusercontent.com/103550934/341343991-63d25af2-292d-4d8e-92f8-18920eef3078.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTc1NzU1NTYsIm5iZiI6MTc1NzU3NTI1NiwicGF0aCI6Ii8xMDM1NTA5MzQvMzQxMzQzOTkxLTYzZDI1YWYyLTI5MmQtNGQ4ZS05MmY4LTE4OTIwZWVmMzA3OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDkxMVQwNzIwNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYWNmYzI5MGI4NmFhMzAwZjRmYTczNTIxOGQ0MDIzNjZjYjNiOWI5MDg2ZTI5MzlmODkxZWU3ODQyYjFiMmFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rUyoZFFNAI_RLA5tlrumlDrztL5zu9ADKjhrvbrtB-E">
> 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.
Hi @redlsz , does this system never do a transaction check? For instance, after the producer registers by sending a heartbeat?
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "redlsz (via GitHub)" <gi...@apache.org>.
redlsz commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-3279333336
> > <img alt="image" width="1460" src="https://private-user-images.githubusercontent.com/103550934/341330429-d2c4ae89-a555-431e-9e95-2643a20b8047.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTc1NzU1NTYsIm5iZiI6MTc1NzU3NTI1NiwicGF0aCI6Ii8xMDM1NTA5MzQvMzQxMzMwNDI5LWQyYzRhZTg5LWE1NTUtNDMxZS05ZTk1LTI2NDNhMjBiODA0Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDkxMVQwNzIwNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NjU2NDBiZGVjN2I3YjhhOWIxZDgwYjc0MDBjYzE2ODdhYjZhMmZlZWFhNDVhOTkzN2NhZGY4MGY0ZTY1MjJiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.A7Al7Ufhir4Gv8Sn6CXbuzha8MgRJqlzd_FNPzuPLUI">
> > Transaction log indicates that the broker cannot find producer channel when trying to call client CheckTransactionState.
> > <img alt="image" width="1907" src="https://private-user-images.githubusercontent.com/103550934/341343991-63d25af2-292d-4d8e-92f8-18920eef3078.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTc1NzU1NTYsIm5iZiI6MTc1NzU3NTI1NiwicGF0aCI6Ii8xMDM1NTA5MzQvMzQxMzQzOTkxLTYzZDI1YWYyLTI5MmQtNGQ4ZS05MmY4LTE4OTIwZWVmMzA3OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDkxMVQwNzIwNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYWNmYzI5MGI4NmFhMzAwZjRmYTczNTIxOGQ0MDIzNjZjYjNiOWI5MDg2ZTI5MzlmODkxZWU3ODQyYjFiMmFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rUyoZFFNAI_RLA5tlrumlDrztL5zu9ADKjhrvbrtB-E">
> > 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.
>
> Hi [@redlsz](https://github.com/redlsz) , does this system never do a transaction check? For instance, after the producer registers by sending a heartbeat?
@RongtongJin Hi. The remoting producer of this case hasn't send any more messages for a period time, which casues no chance for produer group to be added to groupClusterData again.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-2998344559
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Transaction producer didn't receive CheckTransacationState request of pending message [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8316:
URL: https://github.com/apache/rocketmq/issues/8316#issuecomment-5672707571
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org