summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-10-09 19:19:53 +0200
committerJon Bratseth <bratseth@gmail.com>2021-10-09 19:19:53 +0200
commit12df7d91953d837055123ea338ae1837e9f75ce8 (patch)
tree8508ef756ef643108420078eb7f351ae3e744057 /flags
parent49acaa81c697eb979c67b4c7b816142c4b2b9e93 (diff)
Add host memory feature flag
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
index 76ae5b16fe7..7e28006b03a 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -201,7 +201,16 @@ public class PermanentFlags {
"config-proxy-jvm-args", "",
"Sets jvm args for config proxy (added at the end of startup command, will override existing ones)",
"Takes effect on restart of Docker container",
- ZONE_ID, APPLICATION_ID);
+ ZONE_ID, APPLICATION_ID
+ );
+
+ // This must be set in a feature flag to avoid flickering between the new and old valud during config server upgrade
+ public static final UnboundDoubleFlag HOST_MEMORY = defineDoubleFlag(
+ "host-memory", 1.0,
+ "The memory required by a hosts management processes.",
+ "Takes effect immediately",
+ ZONE_ID
+ );
private PermanentFlags() {}