From 08112bec42cf9633609da34b28675581846f223d Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Wed, 2 May 2018 14:35:31 +0200 Subject: Only derive default bucket space node states when cluster has global docs Lets cluster controller use new protocols for sending compressed cluster state bundles, but without triggering implicit Maintenance edges for nodes in the default bucket space. Also allows for easy live reconfiguration when global document types are added or removed. --- .../apps/clustercontroller/ClusterControllerClusterConfigurer.java | 1 + 1 file changed, 1 insertion(+) (limited to 'clustercontroller-apps/src') diff --git a/clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java b/clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java index 98e13f64ee8..6c8af75efac 100644 --- a/clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java +++ b/clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java @@ -74,6 +74,7 @@ public class ClusterControllerClusterConfigurer { options.minNodeRatioPerGroup = config.min_node_ratio_per_group(); options.setMaxDeferredTaskVersionWaitTime(Duration.ofMillis((int)(config.max_deferred_task_version_wait_time_sec() * 1000))); options.enableMultipleBucketSpaces = config.enable_multiple_bucket_spaces(); + options.clusterHasGlobalDocumentTypes = config.cluster_has_global_document_types(); options.minMergeCompletionRatio = config.min_merge_completion_ratio(); } -- cgit v1.2.3