This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new cf1406ec537 branch-3.0: [Fix](cloud-mow) Fix FE's wrong handling when low version MS don't set tablet states for `GetDeleteBitmapUpdateLockResponse` #49165 (#49187) cf1406ec537 is described below commit cf1406ec53700760a0720df6b36258dd79c7f901 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Mar 18 17:55:41 2025 +0800 branch-3.0: [Fix](cloud-mow) Fix FE's wrong handling when low version MS don't set tablet states for `GetDeleteBitmapUpdateLockResponse` #49165 (#49187) Cherry-picked from #49165 Co-authored-by: bobhan1 <bao...@selectdb.com> --- .../org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java index fdab917fb1e..e00a2211419 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java +++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java @@ -956,7 +956,9 @@ public class CloudGlobalTransactionMgr implements GlobalTransactionMgrIface { lockContext.getBaseCompactionCnts().put(tabletId, respBaseCompactionCnts.get(i)); lockContext.getCumulativeCompactionCnts().put(tabletId, respCumulativeCompactionCnts.get(i)); lockContext.getCumulativePoints().put(tabletId, respCumulativePoints.get(i)); - lockContext.getTabletStates().put(tabletId, respTabletStates.get(i)); + if (size4 > 0) { + lockContext.getTabletStates().put(tabletId, respTabletStates.get(i)); + } } totalRetryTime += retryTime; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org