summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2019-02-01 01:01:59 +0100
committerHåkon Hallingstad <hakon@verizonmedia.com>2019-02-01 01:01:59 +0100
commitbdfc7ae660587a95802630735d47bae73bf6e2dd (patch)
tree43af53bb50a4f1f4a68b2473e1ac7f015c589753 /flags
parent55cf60201e329604e19ef0ff7ac1f5300716742a (diff)
Explain ZONE_ID
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/FetchVector.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/FetchVector.java b/flags/src/main/java/com/yahoo/vespa/flags/FetchVector.java
index 6a6dfac14cf..c2fc0352d17 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/FetchVector.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/FetchVector.java
@@ -24,7 +24,14 @@ public class FetchVector {
* Note: If this enum is changed, you must also change {@link DimensionHelper}.
*/
public enum Dimension {
- /** Value from ZoneId::value of the form environment.region. */
+ /**
+ * WARNING: DO NOT USE
+ *
+ * <p>ALL flags can be set differently in different zones: This dimension is ONLY useful for the controller
+ * that needs to handle multiple zones.
+ *
+ * <p>Value from ZoneId::value is of the form environment.region.
+ */
ZONE_ID,
/** Value from ApplicationId::serializedForm of the form tenant:applicationName:instance. */
APPLICATION_ID,