summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2021-08-11 12:30:49 +0200
committerHåkon Hallingstad <hakon@verizonmedia.com>2021-08-11 12:30:49 +0200
commit76501a79f187cdcbebb1b4f37072a002cf0ef143 (patch)
treec8106c8d702ccd5c3c504eb2369ccbfd3ac1dc81 /flags
parent14901467ad821d5dfa0a326ebbdd944c275eb6c9 (diff)
Enable group-suspension with permanent suspension
This will enable the same per-cluster policy for "permanently suspending" a host (i.e. removing it from an application, typically because it is wantToRetire and retired), as the policy for suspending a host (typically for upgrade). The major difference is that the new policy allows for permanently remove >1 content node at a time, if they are within the same group. Guarded by a new flag group-suspension-in-permanent-suspend, enabled by default. The old and unused flag group-suspension is removed.
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java12
1 files changed, 6 insertions, 6 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 ad8777d05f7..85e82d491e0 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -126,12 +126,12 @@ public class Flags {
"Whether the Orchestrator can assume any missing proxy services are down.",
"Takes effect on first (re)start of config server");
- public static final UnboundBooleanFlag GROUP_SUSPENSION = defineFeatureFlag(
- "group-suspension", true,
- List.of("hakon"), "2021-01-22", "2021-08-22",
- "Allow all content nodes in a hierarchical group to suspend at the same time",
- "Takes effect on the next suspension request to the Orchestrator.",
- APPLICATION_ID);
+ public static final UnboundBooleanFlag GROUP_SUSPENSION_IN_PERMANENT_SUSPEND = defineFeatureFlag(
+ "group-suspension-in-permanent-suspend", true,
+ List.of("hakonhall"), "2021-09-11", "2021-11-11",
+ "Allow all content nodes in a hierarchical group to suspend at the same time when" +
+ "permanently suspending a host.",
+ "Takes effect on the next permanent suspension request to the Orchestrator.");
public static final UnboundBooleanFlag ENCRYPT_DIRTY_DISK = defineFeatureFlag(
"encrypt-dirty-disk", false,