private void updateMasterClusterSyncMetrics() {
        var stats = stateVersionTracker.getAggregatedClusterStats();
        var aggrStats = stats.getAggregatedStats();
        if (aggrStats.hasUpdatesFromAllDistributors()) {
            GlobalBucketSyncStatsCalculator.clusterBucketsOutOfSyncRatio(aggrStats.getGlobalStats())
                    .ifPresent(metricUpdater::updateClusterBucketsOutOfSyncRatio);
            metricUpdater.updateClusterDocumentMetrics(
                    stats.getAggregatedDocumentCountTotal(), stats.getAggregatedBytesTotal());
        }
    }
This is called when the options field has been set to a new set of options
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetController.java