From 30934f2a312d9946c3a1c3ff25cbac0ce735ef45 Mon Sep 17 00:00:00 2001 From: Shivansh Arora Date: Tue, 23 Apr 2024 20:29:21 +0530 Subject: [PATCH] Enable batch mode temporarily for gradle check run Signed-off-by: Shivansh Arora --- .../cluster/routing/allocation/ExistingShardsAllocator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java b/server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java index fb2a37237f8b6..7ced7a31c1b27 100644 --- a/server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java +++ b/server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java @@ -77,7 +77,7 @@ public interface ExistingShardsAllocator { */ Setting EXISTING_SHARDS_ALLOCATOR_BATCH_MODE = Setting.boolSetting( "cluster.allocator.existing_shards_allocator.batch_enabled", - false, + true, Setting.Property.NodeScope );