From 8b01f8060f25fbb998f05fd230a6a5a4c8513481 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 24 Mar 2023 13:43:01 +0100 Subject: Add cluster id and type as dimesions to drop-caches flag for finer control. --- flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flags') diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index 3557c76935a..7789808e46c 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -14,6 +14,8 @@ import java.util.TreeMap; import java.util.function.Predicate; import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID; +import static com.yahoo.vespa.flags.FetchVector.Dimension.CLUSTER_ID; +import static com.yahoo.vespa.flags.FetchVector.Dimension.CLUSTER_TYPE; import static com.yahoo.vespa.flags.FetchVector.Dimension.CONSOLE_USER_EMAIL; import static com.yahoo.vespa.flags.FetchVector.Dimension.HOSTNAME; import static com.yahoo.vespa.flags.FetchVector.Dimension.NODE_TYPE; @@ -54,7 +56,7 @@ public class Flags { ZONE_ID, // The application ID is the exclusive application ID associated with the host, // if any, or otherwise hosted-vespa:tenant-host:default. - APPLICATION_ID); + APPLICATION_ID, TENANT_ID, CLUSTER_ID, CLUSTER_TYPE); public static final UnboundDoubleFlag DEFAULT_TERM_WISE_LIMIT = defineDoubleFlag( "default-term-wise-limit", 1.0, -- cgit v1.2.3