HBASE-21102 - ServerCrashProcedure should select target server where no

other replicas exist for the current region (fix compilation issue)
This commit is contained in:
Vasudevan 2018-09-10 13:21:33 +05:30
parent dc3ada2614
commit b09dbb443e
1 changed files with 1 additions and 0 deletions

View File

@ -1562,6 +1562,7 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
sn = servers.get(i);
if (!usedSNs.contains(sn)) {
usedSNs.add(sn);
}
} while (cluster.wouldLowerAvailability(regionInfo, sn)
&& iterations++ < maxIterations);
if (iterations >= maxIterations) {