yujun777 commented on code in PR #54226:
URL: https://github.com/apache/doris/pull/54226#discussion_r2248972923


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Replica.java:
##########
@@ -858,7 +858,7 @@ public boolean isScaleInDrop() {
     public boolean isAlive() {
         return getState() != ReplicaState.CLONE
                 && getState() != ReplicaState.DECOMMISSION
-                && !isBad();
+                && !isBad() && !isUserDrop();

Review Comment:
   set a replica drop just like decommission a be,   there replicas still 
queryable,   it want reading prefer skip them,  can modify function 
Tablet.getQueryableReplicas() to prefer  chose other queryable replicas   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to