summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-09-19 21:43:30 +0200
committerJon Bratseth <bratseth@verizonmedia.com>2019-09-19 21:43:30 +0200
commit9b401405b4f9f02b6ebd04d240cd2412c4054597 (patch)
tree5a41463b02736d5a830f1a0088195258086ebdf4 /container-search
parent07e81bc908de70196f83578a9dc99c9fc7cc0df7 (diff)
No need to set up depending on coverage
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java b/container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java
index 277252d14f0..44df0656361 100644
--- a/container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java
+++ b/container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java
@@ -233,8 +233,7 @@ public class SearchCluster implements NodeManager<Node> {
private void updateVipStatusOnCoverageChange(Group group, boolean sufficientCoverage) {
if ( localCorpusDispatchTarget.isEmpty()) { // consider entire cluster
- if ( ! vipStatus.isInRotation() && sufficientCoverage)
- vipStatus.addToRotation(clusterId);
+ // VIP status does not depend on coverage
}
else if (usesLocalCorpusIn(group)) { // follow the status of this group
setInRotationOnlyIf(sufficientCoverage);