[fix](tablet sched) fix sched delete stale remain replica (#27050)
This commit is contained in:
@ -1092,7 +1092,7 @@ public class TabletScheduler extends MasterDaemon {
|
||||
|
||||
List<Replica> replicas = tabletCtx.getTablet().getReplicas();
|
||||
boolean otherCatchup = replicas.stream().anyMatch(
|
||||
r -> r.getId() != replica.getId()
|
||||
r -> r != replica
|
||||
&& (r.getVersion() > replica.getVersion()
|
||||
|| (r.getVersion() == replica.getVersion() && r.getLastFailedVersion() < 0)));
|
||||
if (!otherCatchup) {
|
||||
|
||||
Reference in New Issue
Block a user