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

yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 006bd07171 [branch-1.1-lts](cherry-pick) fix wrong result of tablet 
health stmt (#13010) (#13012)
006bd07171 is described below

commit 006bd07171f8830f58e60004854ed060076dd70b
Author: wxy <dut.xian...@gmail.com>
AuthorDate: Tue Sep 27 15:50:27 2022 +0800

    [branch-1.1-lts](cherry-pick) fix wrong result of tablet health stmt 
(#13010) (#13012)
    
    Co-authored-by: wangxian...@360shuke.com <wangxian...@360shuke.com>
---
 .../java/org/apache/doris/common/proc/TabletHealthProcDir.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletHealthProcDir.java
 
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletHealthProcDir.java
index 2e4122ca53..54f5d50196 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletHealthProcDir.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletHealthProcDir.java
@@ -285,11 +285,11 @@ public class TabletHealthProcDir implements 
ProcDirInterface {
                 this.colocateMismatchNum += other.colocateMismatchNum;
                 this.colocateRedundantNum += other.colocateRedundantNum;
                 this.needFurtherRepairNum += other.needFurtherRepairNum;
-                this.unrecoverableNum += unrecoverableNum;
-                this.replicaCompactionTooSlowNum += 
replicaCompactionTooSlowNum;
-                this.inconsistentNum += inconsistentNum;
-                this.oversizeNum += oversizeNum;
-                this.cloningNum += cloningNum;
+                this.unrecoverableNum += other.unrecoverableNum;
+                this.replicaCompactionTooSlowNum += 
other.replicaCompactionTooSlowNum;
+                this.inconsistentNum += other.inconsistentNum;
+                this.oversizeNum += other.oversizeNum;
+                this.cloningNum += other.cloningNum;
                 return this;
             } else if (other.summary) {
                 return other.reduce(this);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to