aboutsummaryrefslogtreecommitdiffstats
path: root/flags/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-24 13:43:01 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2023-03-24 13:43:01 +0100
commit8b01f8060f25fbb998f05fd230a6a5a4c8513481 (patch)
treed07cb61629931ff631e5b89efd9c3654179cc41c /flags/src
parent16a64c3f22f03dfba2ec1740db9cec5f768dff10 (diff)
Add cluster id and type as dimesions to drop-caches flag for finer control.
Diffstat (limited to 'flags/src')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java4
1 files changed, 3 insertions, 1 deletions
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,