This is an automated email from the ASF dual-hosted git repository.

yangbowen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 0599cb2efd1 fix replica's remote data size set to data size (#35098)
0599cb2efd1 is described below

commit 0599cb2efd1a6dcc1c609db35fa0a63c99a73545
Author: GoGoWen <82132356+gogo...@users.noreply.github.com>
AuthorDate: Tue May 21 16:48:08 2024 +0800

    fix replica's remote data size set to data size (#35098)
    
    fix replica's 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 706e346c046..8401ec17bbd 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
@@ -1178,7 +1178,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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to