Commit 7c5739b 1 parent 7c98954 commit 7c5739b Copy full SHA for 7c5739b
File tree 1 file changed +3
-1
lines changed
server/src/main/java/org/opensearch/cluster/routing/allocation
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -569,7 +569,9 @@ private void allocateExistingUnassignedShards(RoutingAllocation allocation) {
569
569
Use batch mode if enabled and there is no custom allocator set for Allocation service
570
570
*/
571
571
Boolean batchModeEnabled = EXISTING_SHARDS_ALLOCATOR_BATCH_MODE .get (settings );
572
- if (batchModeEnabled && allocation .nodes ().getMinNodeVersion ().onOrAfter (Version .V_3_0_0 ) && existingShardsAllocators .size () == 2 ) {
572
+ if (batchModeEnabled
573
+ && allocation .nodes ().getMinNodeVersion ().onOrAfter (Version .V_2_14_0 )
574
+ && existingShardsAllocators .size () == 2 ) {
573
575
/*
574
576
If we do not have any custom allocator set then we will be using ShardsBatchGatewayAllocator
575
577
Currently AllocationService will not run any custom Allocator that implements allocateAllUnassignedShards
You can’t perform that action at this time.
0 commit comments