zhannngchen commented on code in PR #47580:
URL: https://github.com/apache/doris/pull/47580#discussion_r1946021021
##########
fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java:
##########
@@ -355,6 +355,9 @@ public void commitTransaction(long dbId, List<Table>
tableList, long transaction
tableList.stream().map(Table::getId).collect(Collectors.toList()));
Map<Long, List<TCalcDeleteBitmapPartitionInfo>>
backendToPartitionInfos = null;
if (!mowTableList.isEmpty()) {
+ if (!checkTransactionStateBeforeCommit(dbId, transactionId)) {
Review Comment:
You should add a `checkTransactionStateBeforeCommit` check before all
`commitTransactionWithoutLock` method calls
--
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]