diff options
author | Geir Storli <geirst@oath.com> | 2018-03-20 14:48:55 +0100 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2018-03-20 14:48:55 +0100 |
commit | dafd2b5b69a9704858b5da0f5066c2f0a89951a7 (patch) | |
tree | 78527a6135c9dfe5c90754d77b9a235723d28acc /clustercontroller-apps | |
parent | 4d4686f5bc7252090d8cec0cacd2733a2fc02d45 (diff) |
Add config to clustercontroller for the min merge completion ratio of buckets in a bucket space before it is considered complete.
Diffstat (limited to 'clustercontroller-apps')
-rw-r--r-- | clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 2a9c076a060..98e13f64ee8 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.minMergeCompletionRatio = config.min_merge_completion_ratio(); } private void configure(SlobroksConfig config) { |