TsukiokaKogane commented on code in PR #68514:
URL: https://github.com/apache/doris/pull/68514#discussion_r4118328001


##########
fe/fe-core/src/main/java/org/apache/doris/transaction/DatabaseTransactionMgr.java:
##########
@@ -911,17 +911,21 @@ public void commitTransaction(List<Table> tableList, long 
transactionId, List<Ta
             checkCommitStatus(tableList, transactionState, tabletCommitInfos, 
txnCommitAttachment, errorReplicaIds,
                     tableToPartition, totalInvolvedBackends);
         }
+        // Fetch before callbacks can acquire job locks or mark a job as 
committing. A disabled or
+        // unavailable TSO service must fail without leaving callback state 
behind.
+        long commitTSO = TransactionUtil.getCommitTSO(transactionId, db, is2PC

Review Comment:
   will fix it



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to