diff --git a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetController.java b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetController.java index 6731a8c38617..b83b6b0deeb2 100644 --- a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetController.java +++ b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetController.java @@ -374,12 +374,12 @@ private boolean maybePublishOldMetrics() { metricUpdater.updateClusterStateMetrics(cluster, baselineState, ResourceUsageStats.calculateFrom(cluster.getNodeInfos(), options.clusterFeedBlockLimit(), stateBundle.getFeedBlock()), systemStateBroadcaster.getLastStateBroadcastTimePoint()); - lastMetricUpdateCycleCount = cycleCount; } else { // If we're not the master we don't have any authoritative information about // how out of sync the cluster nodes are, so reset the metric. metricUpdater.updateClusterBucketsOutOfSyncRatio(0); } + lastMetricUpdateCycleCount = cycleCount; return true; } else { return false;