From 648d3428ab476b7ad26c04047de610a497966c92 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 11 Feb 2020 06:52:24 +0000 Subject: Keep silent until you know what you are talking about. --- .../main/java/com/yahoo/search/dispatch/searchcluster/SearchCluster.java | 1 + 1 file changed, 1 insertion(+) 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 d44ade66967..1da13f6c082 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 @@ -378,6 +378,7 @@ public class SearchCluster implements NodeManager { } private void trackGroupCoverageChanges(int index, Group group, boolean fullCoverage, long averageDocuments) { + if ( ! hasInformationAboutAllNodes()) return; // Be silent until we know what we are talking about. boolean changed = group.isFullCoverageStatusChanged(fullCoverage); if (changed || (!fullCoverage && System.currentTimeMillis() > nextLogTime)) { nextLogTime = System.currentTimeMillis() + 30 * 1000; -- cgit v1.2.3