summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-01-25 15:44:10 +0000
committerGeir Storli <geirst@verizonmedia.com>2021-01-25 15:44:10 +0000
commit482f6ce55aa13fd1176177cabad7112a0249d895 (patch)
tree54f8976c3742c342a0c327a2b2f9b4f114db55d7 /configdefinitions
parent8f5b601e7701bea5b321ba69d0b4a8c90e658930 (diff)
Add config to cluster controller on whether it should block feed based on reported resource usage from content nodes.
Each resource category has a specified limit. This is currently disabled by default.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/fleetcontroller.def16
1 files changed, 16 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/fleetcontroller.def b/configdefinitions/src/vespa/fleetcontroller.def
index 96b43a15c5e..3c88639d09d 100644
--- a/configdefinitions/src/vespa/fleetcontroller.def
+++ b/configdefinitions/src/vespa/fleetcontroller.def
@@ -181,3 +181,19 @@ enable_two_phase_cluster_state_transitions bool default=false
## Deprecated - not used
determine_buckets_from_bucket_space_metric bool default=true
+
+# If enabled, the cluster controller observes reported (categorized) resource usage from content nodes (via host info),
+# and decides whether external feed should be blocked (or unblocked) in the entire cluster.
+#
+# Each resource category has a limit, which is specified in cluster_feed_block_limit.
+# If one resource category from one content node is above the configured limit, feed is blocked.
+# This information is pushed to all distributor nodes via a new cluster state bundle.
+# The distributor nodes handle the actual feed blocking based on this information.
+enable_cluster_feed_block bool default=false
+
+# Contains all resource categories (key) with its corresponding feed block limit (value)
+# used when the cluster controller decides whether external feed should be blocked (or unblocked) in the entire cluster.
+#
+# The keys used must match the similar keys in the host info JSON structure.
+# All limits are numbers between 0.0 and 1.0.
+cluster_feed_block_limit{} double