diff options
author | Håkon Hallingstad <hakon.hallingstad@gmail.com> | 2023-03-24 15:42:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 15:42:52 +0100 |
commit | 53212adaa4e0442c47e5b844fce183c4736e706b (patch) | |
tree | 59c4972d58481ad9ecdda69fe7b158281e1368b9 | |
parent | bdf8b72f4ac27ce4199034f79c0f70b10b7590a3 (diff) | |
parent | 8b01f8060f25fbb998f05fd230a6a5a4c8513481 (diff) |
Merge pull request #26574 from vespa-engine/balder/add-cluster-and-type-as-dimesions-to-drop-caches-flag
Add cluster id and type as dimesions to drop-caches flag for finer co…
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 4 |
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 5410e4c854b..45e3b435011 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; @@ -61,7 +63,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, |