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

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


The following commit(s) were added to refs/heads/master by this push:
     new ea80da9edfb [Fix](MethodName) fix method issue #34178
ea80da9edfb is described below

commit ea80da9edfb30bdc577b1759b1f5dddc74a3709e
Author: GoGoWen <82132356+gogo...@users.noreply.github.com>
AuthorDate: Sat Apr 27 23:15:37 2024 +0800

    [Fix](MethodName) fix method issue #34178
---
 fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 3a190ef11c2..9d54ce2dc5f 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
@@ -775,7 +775,7 @@ public class TabletSchedCtx implements 
Comparable<TabletSchedCtx> {
 
             boolean allCatchup = true;
             for (Replica replica : furtherRepairs) {
-                if (checkFurthurRepairFinish(replica, visibleVersion)) {
+                if (checkFurtherRepairFinish(replica, visibleVersion)) {
                     replica.setNeedFurtherRepair(false);
                     replica.setFurtherRepairWatermarkTxnTd(-1);
                 } else {
@@ -858,7 +858,7 @@ public class TabletSchedCtx implements 
Comparable<TabletSchedCtx> {
         setDest(chosenReplica.getBackendId(), chosenReplica.getPathHash());
     }
 
-    private boolean checkFurthurRepairFinish(Replica replica, long version) {
+    private boolean checkFurtherRepairFinish(Replica replica, long version) {
         if (replica.getVersion() < version || replica.getLastFailedVersion() > 
0) {
             return false;
         }
@@ -1209,7 +1209,7 @@ public class TabletSchedCtx implements 
Comparable<TabletSchedCtx> {
             // change from prepare to committed or visible, this replica will 
be fall behind and be removed
             // in REDUNDANT detection.
             //
-            boolean isCatchup = checkFurthurRepairFinish(replica, 
partition.getVisibleVersion());
+            boolean isCatchup = checkFurtherRepairFinish(replica, 
partition.getVisibleVersion());
             replica.incrFurtherRepairCount();
             if (isCatchup || replica.getLeftFurtherRepairCount() <= 0) {
                 replica.setNeedFurtherRepair(false);


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

Reply via email to