zhannngchen commented on code in PR #41395: URL: https://github.com/apache/doris/pull/41395#discussion_r1834372060
########## fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java: ########## @@ -475,6 +475,19 @@ private void commitTransaction(long dbId, List<Table> tableList, long transactio List<OlapTable> mowTableList = getMowTableList(tableList, tabletCommitInfos); if (!mowTableList.isEmpty()) { + TransactionState transactionState = Env.getCurrentGlobalTransactionMgr() Review Comment: Add comment here to explain why we need such an additional check -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org