gavinchou commented on code in PR #45625:
URL: https://github.com/apache/doris/pull/45625#discussion_r1900328219


##########
fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java:
##########
@@ -4035,6 +4055,21 @@ public TStatus 
reportCommitTxnResult(TReportCommitTxnResultRequest request) thro
             }
             CommitTxnResponse commitTxnResponse = 
CommitTxnResponse.parseFrom(receivedProtobufBytes);
             
Env.getCurrentGlobalTransactionMgr().afterCommitTxnResp(commitTxnResponse);
+
+            List<Long> allTabletIds = new ArrayList<>();
+            
TabletCommitInfo.fromThrift(request.getCommitInfos()).forEach(tabletCommitInfo 
-> {
+                allTabletIds.add(tabletCommitInfo.getTabletId());
+            });
+            if (!allTabletIds.isEmpty()) {

Review Comment:
   should we check the session var `sync_load_multi_cluster` first?



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

Reply via email to