Skip to content

Commit 61d5363

Browse files
Allow old balancer until V10 (#113469)
While setting the balancer/allocation type is still deprecated, we are not going to remove it until next major.
1 parent b1b249d commit 61d5363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/cluster/ClusterModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
import org.elasticsearch.common.settings.Setting;
6868
import org.elasticsearch.common.settings.Setting.Property;
6969
import org.elasticsearch.common.settings.Settings;
70-
import org.elasticsearch.core.UpdateForV9;
70+
import org.elasticsearch.core.UpdateForV10;
7171
import org.elasticsearch.gateway.GatewayAllocator;
7272
import org.elasticsearch.health.metadata.HealthMetadataService;
7373
import org.elasticsearch.health.node.selection.HealthNodeTaskExecutor;
@@ -391,7 +391,7 @@ private static void addAllocationDecider(Map<Class<?>, AllocationDecider> decide
391391
}
392392
}
393393

394-
@UpdateForV9 // in v9 there is only one allocator
394+
@UpdateForV10 // in v10 there is only one allocator
395395
private static ShardsAllocator createShardsAllocator(
396396
Settings settings,
397397
ClusterSettings clusterSettings,

0 commit comments

Comments
 (0)