diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-06-22 15:06:44 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-06-22 15:06:44 +0200 |
commit | 9f247359a9770c9a8f8ca8394592571234791039 (patch) | |
tree | 3cc6fadbf156fc5e50d54c55f6ee254027a5f5cf /orchestrator | |
parent | f323d7eadd378266f2523cf0771aa00abbcd8b0a (diff) |
Orchestrator should assume 3 controllers
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ClusterApiImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ClusterApiImpl.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ClusterApiImpl.java index 24f56eac85d..ae3136543a7 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ClusterApiImpl.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ClusterApiImpl.java @@ -73,7 +73,7 @@ class ClusterApiImpl implements ClusterApi { servicesDownAndNotInGroup = servicesNotInGroup.stream().filter(this::serviceEffectivelyDown).collect(Collectors.toSet()); int serviceInstances = serviceCluster.serviceInstances().size(); - if (serviceCluster.isConfigServerCluster() && serviceInstances < numberOfConfigServers) { + if (serviceCluster.isConfigServerClusterLike() && serviceInstances < numberOfConfigServers) { missingServices = numberOfConfigServers - serviceInstances; descriptionOfMissingServices = missingServices + " missing config server" + (missingServices > 1 ? "s" : ""); } else { |