This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
ISSUE-20150: [Bug] [Txn] The committed transaction may rollback to OPEN status. #5730
Open
1 of 2 tasks
Labels
Original Issue: apache#20150
Search before asking
Version
master.
Minimal reproduce step
just restart brokers.
What did you expect to see?
Committed
transactions can not be rollback to previous status.What did you see instead?
Some transactions are
committed
before broker's restart, but becomeopen
status after the broker is restarted.I add some logs in broker as follows:
broker.out.1
, which is the log logged before restarting broker.broker.out
, which is the log logged after restarting broker.and i found some logs in
TransactionRecoverTrackerImpl
.Based on logs above, we can see that the transaction
(11,155293)
is rollback toopen
status, and is aborted due to transaction timeout machanism.Important clue: Only the TC log batch write feature is enabled will trigger this problem.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: