aboutsummaryrefslogtreecommitdiffstats
path: root/flags/src
diff options
context:
space:
mode:
Diffstat (limited to 'flags/src')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java65
1 files changed, 7 insertions, 58 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 d8e0ceb01bd..24e9ea5ef7c 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -262,13 +262,6 @@ public class Flags {
TENANT_ID, CONSOLE_USER_EMAIL
);
- public static final UnboundBooleanFlag UNORDERED_MERGE_CHAINING = defineFeatureFlag(
- "unordered-merge-chaining", true,
- List.of("vekterli", "geirst"), "2021-11-15", "2022-11-01",
- "Enables the use of unordered merge chains for data merge operations",
- "Takes effect at redeploy",
- ZONE_ID, APPLICATION_ID);
-
public static final UnboundBooleanFlag IGNORE_THREAD_STACK_SIZES = defineFeatureFlag(
"ignore-thread-stack-sizes", false,
List.of("arnej"), "2021-11-12", "2022-12-01",
@@ -283,7 +276,6 @@ public class Flags {
"Takes effect at redeployment",
ZONE_ID, APPLICATION_ID);
-
public static final UnboundIntFlag MAX_COMPACT_BUFFERS = defineIntFlag(
"max-compact-buffers", 1,
List.of("baldersheim", "geirst", "toregge"), "2021-12-15", "2023-01-01",
@@ -291,56 +283,6 @@ public class Flags {
"Takes effect at redeployment",
ZONE_ID, APPLICATION_ID);
- public static final UnboundStringFlag MERGE_THROTTLING_POLICY = defineStringFlag(
- "merge-throttling-policy", "STATIC",
- List.of("vekterli"), "2022-01-25", "2022-12-01",
- "Sets the policy used for merge throttling on the content nodes. " +
- "Valid values: STATIC, DYNAMIC",
- "Takes effect at redeployment",
- ZONE_ID, APPLICATION_ID);
-
- public static final UnboundDoubleFlag PERSISTENCE_THROTTLING_WS_DECREMENT_FACTOR = defineDoubleFlag(
- "persistence-throttling-ws-decrement-factor", 1.2,
- List.of("vekterli"), "2022-01-27", "2022-12-01",
- "Sets the dynamic throttle policy window size decrement factor for persistence " +
- "async throttling. Only applies if DYNAMIC policy is used.",
- "Takes effect on redeployment",
- ZONE_ID, APPLICATION_ID);
-
- public static final UnboundDoubleFlag PERSISTENCE_THROTTLING_WS_BACKOFF = defineDoubleFlag(
- "persistence-throttling-ws-backoff", 0.95,
- List.of("vekterli"), "2022-01-27", "2022-12-01",
- "Sets the dynamic throttle policy window size backoff for persistence " +
- "async throttling. Only applies if DYNAMIC policy is used. Valid range [0, 1]",
- "Takes effect on redeployment",
- ZONE_ID, APPLICATION_ID);
-
- public static final UnboundIntFlag PERSISTENCE_THROTTLING_WINDOW_SIZE = defineIntFlag(
- "persistence-throttling-window-size", -1,
- List.of("vekterli"), "2022-02-23", "2022-11-01",
- "If greater than zero, sets both min and max window size to the given number, effectively " +
- "turning dynamic throttling into a static throttling policy. " +
- "Only applies if DYNAMIC policy is used.",
- "Takes effect on redeployment",
- ZONE_ID, APPLICATION_ID);
-
- public static final UnboundDoubleFlag PERSISTENCE_THROTTLING_WS_RESIZE_RATE = defineDoubleFlag(
- "persistence-throttling-ws-resize-rate", 3.0,
- List.of("vekterli"), "2022-02-23", "2022-11-01",
- "Sets the dynamic throttle policy resize rate. Only applies if DYNAMIC policy is used.",
- "Takes effect on redeployment",
- ZONE_ID, APPLICATION_ID);
-
- public static final UnboundBooleanFlag PERSISTENCE_THROTTLING_OF_MERGE_FEED_OPS = defineFeatureFlag(
- "persistence-throttling-of-merge-feed-ops", true,
- List.of("vekterli"), "2022-02-24", "2022-11-01",
- "If true, each put/remove contained within a merge is individually throttled as if it " +
- "were a put/remove from a client. If false, merges are throttled at a persistence thread " +
- "level, i.e. per ApplyBucketDiff message, regardless of how many document operations " +
- "are contained within. Only applies if DYNAMIC policy is used.",
- "Takes effect on redeployment",
- ZONE_ID, APPLICATION_ID);
-
public static final UnboundBooleanFlag USE_QRSERVER_SERVICE_NAME = defineFeatureFlag(
"use-qrserver-service-name", false,
List.of("arnej"), "2022-01-18", "2022-12-31",
@@ -473,6 +415,13 @@ public class Flags {
"Takes effect on configserver restart",
ZONE_ID, NODE_TYPE);
+ public static final UnboundBooleanFlag USE_WIREGUARD_ON_TENANT_HOSTS = defineFeatureFlag(
+ "use-wireguard-on-tenant-hosts", false,
+ List.of("andreer", "gjoranv"), "2022-09-28", "2023-04-01",
+ "Set up a WireGuard endpoint on tenant hosts",
+ "Takes effect on host admin restart",
+ HOSTNAME);
+
/** 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,