aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2020-01-17 12:39:12 +0100
committerHåkon Hallingstad <hakon@verizonmedia.com>2020-01-17 12:39:12 +0100
commitc28f13dac59167dee1257f5b23835e6441bc5f31 (patch)
tree7910cb0ce12e37b7af828c3b13c14b84cbcb0105 /configdefinitions
parentb324c19e007a7a57ba731ed72a01d35cd6937ed7 (diff)
Use bucket_space metric in retirement
This makes the Cluster Controller use the vds.datastored.bucket_space.buckets_total, dimension bucketSpace=default, to determine whether a content node manages zero buckets, and if so, will allow the node to go permanently down. This is used when a node is retiring, and it is to be removed from the application. The change is guarded by the use-bucket-space-metric, default true. If the new metric doesn't work as expected, we can revert to using the current/old metric by flipping the flag. The flag can be controlled per application.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/fleetcontroller.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/fleetcontroller.def b/configdefinitions/src/vespa/fleetcontroller.def
index 62f3b6759c3..3f2a5637a53 100644
--- a/configdefinitions/src/vespa/fleetcontroller.def
+++ b/configdefinitions/src/vespa/fleetcontroller.def
@@ -178,3 +178,11 @@ min_merge_completion_ratio double default=1.0
## activation may happen at wildly different times throughout the cluster. The 2 phase
## transition logic aims to minimize the window of time where active states diverge.
enable_two_phase_cluster_state_transitions bool default=false
+
+## Determines which metric will be used to decide whether a content node manages
+## zero buckets, when deciding whether it can be set permanently down (typically
+## to be removed from the application).
+## If true, use vds.datastored.bucket_space.buckets_total (new), otherwise use
+## vds.datastored.alldisks.buckets (legacy).
+## This setting is intended to be used to safely roll out the new metric.
+determine_buckets_from_bucket_space_metric bool default=true