diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-04-20 13:39:55 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-04-20 13:39:55 +0000 |
commit | aee4a323fd1d02470179d903d133431587ae3971 (patch) | |
tree | 300a329b12ac287bae36835724d1c718ea9845a4 /flags | |
parent | 901237f0a48223b8971c56c95e0d7b41e3974d33 (diff) |
Add config and feature flag for the number of distributor stripes.
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 7 |
1 files changed, 7 insertions, 0 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 9ce2c6171a6..b3f7f42e308 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -287,6 +287,13 @@ public class Flags { "Takes effect on next host-admin tick", HOSTNAME); + public static final UnboundIntFlag NUM_DISTRIBUTOR_STRIPES = defineIntFlag( + "num-distributor-stripes", 0, + List.of("geirst", "vekterli"), "2021-04-20", "2021-07-01", + "Specifies the number of stripes used by the distributor. When 0, legacy single stripe behavior is used.", + "Takes effect after distributor restart", + ZONE_ID, APPLICATION_ID); + /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners, String createdAt, String expiresAt, String description, |