Skip to content

Commit ebf2178

Browse files
committed
Add Async Batch Shard Settings
Signed-off-by: Pranshu-S <pranshushukla06@gmail.com>
1 parent 6414d6a commit ebf2178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_install-and-configure/configuring-opensearch/cluster-settings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ OpenSearch supports the following cluster-level routing and shard allocation set
9696
- `REPLICA_FIRST` – Replica shards are relocated first, before primary shards. This prioritization may help prevent a cluster's health status from going red when carrying out shard relocation in a mixed-version, segment-replication-enabled OpenSearch cluster. In this situation, primary shards relocated to OpenSearch nodes of a newer version could try to copy segment files to replica shards on an older version of OpenSearch, which would result in shard failure. Relocating replica shards first may help to avoid this in multi-version clusters.
9797
- `NO_PREFERENCE` – The default behavior in which the order of shard relocation has no importance.
9898

99+
- `cluster.allocator.gateway.batch_size` (Integer): Limits the number of shards we send in one batch to data nodes for fetching metadata. Default is `2000`.
100+
- `cluster.allocator.existing_shards_allocator.batch_enabled` (Boolean): Boolean setting to enable/disable batch allocation of unassigned shards already existing on disk. This will allow sending all Unassigned Shards to the ExistingShard Allocator to make decision to allocate in one or more go. Default is `False`.
99101
## Cluster-level shard, block, and task settings
100102

101103
OpenSearch supports the following cluster-level shard, block, and task settings:

0 commit comments

Comments
 (0)