summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java56
1 files changed, 24 insertions, 32 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 c31702c1259..42ac04b546b 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -123,41 +123,11 @@ public class Flags {
ZONE_ID, APPLICATION_ID);
public static final UnboundIntFlag NUM_DEPLOY_HELPER_THREADS = defineIntFlag(
- "num-model-builder-threads", 0,
+ "num-model-builder-threads", -1,
List.of("balder"), "2021-09-09", "2021-10-01",
"Number of threads used for speeding up building of models.",
"Takes effect on first (re)start of config server");
- public static final UnboundBooleanFlag ENCRYPT_DIRTY_DISK = defineFeatureFlag(
- "encrypt-dirty-disk", true,
- List.of("hakonhall"), "2021-05-14", "2021-10-05",
- "Allow migrating an unencrypted data partition to being encrypted when (de)provisioned.",
- "Takes effect on next host-admin tick.");
-
- public static final UnboundBooleanFlag LIMIT_DISK_MODIFICATIONS = defineFeatureFlag(
- "limit-disk-modifications", true,
- List.of("hakonhall"), "2021-09-16", "2021-10-16",
- "Only allow modifications of disks by disk task in limited situations.",
- "Takes effect on next host-admin tick.");
-
- public static final UnboundBooleanFlag NEW_SPARE_DISKS = defineFeatureFlag(
- "new-spare-disks", true,
- List.of("hakonhall"), "2021-09-08", "2021-11-08",
- "Use a new algorithm to calculate the spare disks of a host.",
- "Takes effect on first run of DiskTask, typically after host-admin restart/upgrade.");
-
- public static final UnboundBooleanFlag LOCAL_SUSPEND = defineFeatureFlag(
- "local-suspend", true,
- List.of("hakonhall"), "2021-09-21", "2021-10-21",
- "Whether the cfghost host admin should suspend against only the local cfg (true and legacy) or all.",
- "Takes effect immediately.");
-
- public static final UnboundBooleanFlag USE_UNKNOWN_SERVICE_STATUS = defineFeatureFlag(
- "use-unknown-service-status", true,
- List.of("hakonhall"), "2021-09-13", "2021-10-13",
- "Whether to use the UNKNOWN ServiceStatus for services that have not yet been probed by service monitor.",
- "Takes effect on first (re)start of config server.");
-
public static final UnboundBooleanFlag ENABLE_FEED_BLOCK_IN_DISTRIBUTOR = defineFeatureFlag(
"enable-feed-block-in-distributor", true,
List.of("geirst"), "2021-01-27", "2021-11-01",
@@ -187,7 +157,7 @@ public class Flags {
public static final UnboundBooleanFlag GENERATE_NON_MTLS_ENDPOINT = defineFeatureFlag(
"generate-non-mtls-endpoint", true,
- List.of("tokle"), "2021-02-18", "2021-10-01",
+ List.of("tokle"), "2021-02-18", "2021-12-01",
"Whether to generate the non-mtls endpoint",
"Takes effect on next internal redeployment",
APPLICATION_ID);
@@ -313,6 +283,28 @@ public class Flags {
TENANT_ID
);
+ public static final UnboundIntFlag MAX_CONNECTION_LIFE_IN_HOSTED = defineIntFlag(
+ "max-connection-life-in-hosted", 45,
+ List.of("bjorncs"), "2021-09-30", "2021-12-31",
+ "Max connection life for connections to jdisc endpoints in hosted",
+ "Takes effect at redeployment",
+ APPLICATION_ID);
+
+ public static final UnboundBooleanFlag ENABLE_ROUTING_REUSE_PORT = defineFeatureFlag(
+ "enable-routing-reuse-port", false,
+ List.of("mortent"), "2021-09-29", "2021-12-31",
+ "Enable reuse port in routing configuration",
+ "Takes effect on container restart",
+ HOSTNAME
+ );
+
+ public static final UnboundBooleanFlag ENABLE_TENANT_OPERATOR_ROLE = defineFeatureFlag(
+ "enable-tenant-operator-role", false,
+ List.of("bjorncs"), "2021-09-29", "2021-12-31",
+ "Enable tenant specific operator roles in public systems. For controllers only.",
+ "Takes effect on subsequent maintainer invocation",
+ TENANT_ID
+ );
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners,