From d8f8eb0323e8795dd76e33100cb421b8c54d2c1f Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Sat, 9 Nov 2024 16:53:22 +0100 Subject: [PATCH] Add flag that can set keepSessionsWithUnknownStatusHours in config server config --- .../main/java/com/yahoo/vespa/flags/PermanentFlags.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 0482562b3e00..dfc977d23d64 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java @@ -510,6 +510,13 @@ public class PermanentFlags { "Allowed Athenz proxy identities", "takes effect at redeployment"); + public static final UnboundLongFlag CONFIG_SERVER_UNKNOWN_STATUS_SESSION_EXPIRY_TIME = defineLongFlag( + "config-server-unknown-status-session-expiry-time", 6, + "Expiry time in hours for sessions with unknown status, can be lowered if there are incidents/bugs " + + " or free disk space is too low and one needs to delete sessions", + "Takes effect after restart of config server" + ); + private PermanentFlags() {} private static UnboundBooleanFlag defineFeatureFlag(