Skip to content

Commit 6d0fa2f

Browse files
committed
[DOCS] Update merge docs to reflect the max_merge_at_once property
1 parent bacba42 commit 6d0fa2f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/reference/index-modules/merge.asciidoc

+13-1
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,16 @@ The maximum number of threads to perform the merge operation. Defaults to
209209

210210
A merge scheduler that simply does each merge sequentially using the
211211
calling thread (blocking the operations that triggered the merge or the
212-
index operation).
212+
index operation). This merge scheduler has a merge thread pool that
213+
explicitly schedules merges, and it makes sure that merges are serial
214+
within a shard, yet concurrent across multiple shards.
215+
216+
The scheduler supports the following settings:
217+
218+
`index.merge.scheduler.max_merge_at_once`::
219+
220+
The maximum number of merges a single merge run performs. This setting prevents
221+
executing unlimited amount of merges in a loop until another shards has a
222+
chance to get a merge thread from the pool. If this limit is reached the
223+
merge thread returns to the pool and continues once the the call to a single
224+
shards is executed. The default is `5`

0 commit comments

Comments
 (0)