Browse Source

Mark `cluster.routing.allocation.type` to be removed in v10 (#124801)

This setting was supposed to be removed in 9.0, but turned to be non-critical. We should remove it in ES 10.0

See #94066
See ES-11224
Artem Prigoda 7 months ago
parent
commit
00d1834a4a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server/src/main/java/org/elasticsearch/cluster/ClusterModule.java

+ 1 - 0
server/src/main/java/org/elasticsearch/cluster/ClusterModule.java

@@ -107,6 +107,7 @@ public class ClusterModule extends AbstractModule {
 
     public static final String BALANCED_ALLOCATOR = "balanced";
     public static final String DESIRED_BALANCE_ALLOCATOR = "desired_balance"; // default
+    @UpdateForV10(owner = UpdateForV10.Owner.DISTRIBUTED_COORDINATION)
     public static final Setting<String> SHARDS_ALLOCATOR_TYPE_SETTING = Setting.simpleString(
         "cluster.routing.allocation.type",
         DESIRED_BALANCE_ALLOCATOR,