rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Enhancement] Add some info log in transactional messsage check

Open WJ66880 opened this issue 1 year ago • 0 comments

Before Creating the Enhancement Request

  • [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

In order to know explicitly what trigger the transactional message check method, I want to add some info log in org.apache.rocketmq.broker.transaction.queue.TransactionalMessageServiceImpl#check method.

Motivation

In broker version 4.3.2, I encounter a problem that transactional message will execute checkLocalTransaction method, even I return LocalTransactionState.COMMIT_MESSAGE in executeLocalTransaction method, but there is no log info

Describe the Solution You'd Like

add some log info for three boolean variable in check method.

Describe Alternatives You've Considered

add some log info for three boolean variable in check method.

Additional Context

No response

WJ66880 avatar Apr 03 '24 09:04 WJ66880