This is an automated email from the ASF dual-hosted git repository.
yangbowen pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 8a16dad3289 fix bug that replica remote data size set to data size
(#35097)
8a16dad3289 is described below
commit 8a16dad3289a4c25ee3ef25c6a2fa30700552d01
Author: GoGoWen <[email protected]>
AuthorDate: Thu May 23 14:27:44 2024 +0800
fix bug that replica remote data size set to data size (#35097)
fix bug that replica remote data size set to data size
---
fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java
b/fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java
index 912fc1bb316..3544da69e88 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java
@@ -1137,7 +1137,7 @@ public class TabletSchedCtx implements
Comparable<TabletSchedCtx> {
}
replica.updateVersionInfo(reportedTablet.getVersion(),
reportedTablet.getDataSize(),
- reportedTablet.getDataSize(),
reportedTablet.getRowCount());
+ reportedTablet.getRemoteDataSize(),
reportedTablet.getRowCount());
if (replica.getLastFailedVersion() >
partition.getCommittedVersion()
&& reportedTablet.getVersion() >=
partition.getCommittedVersion()
//&& !(reportedTablet.isSetVersionMiss() &&
reportedTablet.isVersionMiss()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]