From 317cbcf739c601ec125b1be9850e6164951c6797 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 06:44:58 -0700 Subject: [PATCH] Correct the default value for ops_batch_size setting (#4268) (#4269) The default value of ops_batch_size is 50000 as specified here: https://github.com/opensearch-project/cross-cluster-replication/blob/main/src/main/kotlin/org/opensearch/replication/ReplicationPlugin.kt#L165 (cherry picked from commit 1e87828f0d2aad6d5f6c96492eb5ce50532a8ef2) Signed-off-by: Sooraj Sinha <81695996+soosinha@users.noreply.github.com> Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- _tuning-your-cluster/replication-plugin/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tuning-your-cluster/replication-plugin/settings.md b/_tuning-your-cluster/replication-plugin/settings.md index 4a5d266d08..b4a7048a9b 100644 --- a/_tuning-your-cluster/replication-plugin/settings.md +++ b/_tuning-your-cluster/replication-plugin/settings.md @@ -30,7 +30,7 @@ Setting | Default | Description :--- | :--- | :--- `plugins.replication.follower.index.recovery.chunk_size` | 10 MB | The chunk size requested by the follower cluster during file transfer. Specify the chunk size as a value and unit, for example, 10 MB, 5 KB. See [Supported units]({{site.url}}{{site.baseurl}}/opensearch/units/). `plugins.replication.follower.index.recovery.max_concurrent_file_chunks` | 4 | The number of file chunk requests that can be sent in parallel for each recovery. -`plugins.replication.follower.index.ops_batch_size` | 5000 | The number of operations that can be fetched at a time during the syncing phase of replication. +`plugins.replication.follower.index.ops_batch_size` | 50000 | The number of operations that can be fetched at a time during the syncing phase of replication. `plugins.replication.follower.concurrent_readers_per_shard` | 2 | The number of concurrent requests from the follower cluster per shard during the syncing phase of replication. `plugins.replication.autofollow.fetch_poll_interval` | 30s | How often auto-follow tasks poll the leader cluster for new matching indexes. `plugins.replication.follower.metadata_sync_interval` | 60s | How often the follower cluster polls the leader cluster for updated index metadata.