|
|
@ -571,6 +571,7 @@ public class Balancer {
|
|
|
|
Map.Entry<String, byte[]> hosthash;
|
|
|
|
Map.Entry<String, byte[]> hosthash;
|
|
|
|
while (k.hasNext()) {
|
|
|
|
while (k.hasNext()) {
|
|
|
|
hosthash = k.next();
|
|
|
|
hosthash = k.next();
|
|
|
|
|
|
|
|
if (failoverCandidates.get(hosthash) > 1000) break; // thats too long; we want a second chance for this!
|
|
|
|
besthost = hosthash.getKey();
|
|
|
|
besthost = hosthash.getKey();
|
|
|
|
besturlhash = hosthash.getValue();
|
|
|
|
besturlhash = hosthash.getValue();
|
|
|
|
removeHashFromDomainStacks(besthost, besturlhash);
|
|
|
|
removeHashFromDomainStacks(besthost, besturlhash);
|
|
|
|