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

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


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 40927282f67 [branch-1.2](TabletScheduler) Fix need further repair task 
stuck in running state #25991
40927282f67 is described below

commit 40927282f671f1095afe9adcf89bd2e39fe0ddf5
Author: xy720 <22125576+xy...@users.noreply.github.com>
AuthorDate: Fri Oct 27 11:58:48 2023 +0800

    [branch-1.2](TabletScheduler) Fix need further repair task stuck in running 
state #25991
---
 fe/fe-core/src/main/java/org/apache/doris/clone/TabletSchedCtx.java | 3 ++-
 1 file changed, 2 insertions(+), 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 b889a70430a..b904654c74d 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
@@ -881,7 +881,8 @@ public class TabletSchedCtx implements 
Comparable<TabletSchedCtx> {
 
             // addReplica() method will add this replica to tablet inverted 
index too.
             tablet.addReplica(cloneReplica);
-        } else if (tabletStatus == TabletStatus.VERSION_INCOMPLETE) {
+        } else {
+            // tabletStatus is VERSION_INCOMPLETE || NEED_FURTHER_REPAIR
             Preconditions.checkState(type == Type.REPAIR, type);
             // double check
             Replica replica = tablet.getReplicaByBackendId(destBackendId);


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

Reply via email to