OpenSearch/docs/reference/index-modules
Shay Banon 0ef3b03be1 Move to use serial merge schedule by default
Today, we use ConcurrentMergeScheduler, and this can be painful since it is concurrent on a shard level, with a max of 3 threads doing concurrent merges. If there are several shards being indexed, then there will be a minor explosion of threads trying to do merges, all being throttled by our merge throttling.
Moving to serial merge scheduler will still maintain concurrency of merges across shards, as we have the merge thread pool that schedules those merges. It will just be a serial one on a specific shard.
Also, on serial merge scheduler, we now have a limit of how many merges it will do at one go, so it will let other shards get their fair chance of merging. We use the pending merges on IW to check if merges are needed or not for it.
Note, that if a merge is happening, it will not block due to a sync on the maybeMerge call at indexing (flush) time, since we wrap our merge scheduler with the EnabledMergeScheduler, where maybeMerge is not activated during indexing, only with explicit calls to IW#maybeMerge (see Merges).
closes #5447
2014-03-18 13:17:00 +01:00
..
allocation.asciidoc [DOCS] Multiple doc fixes 2014-03-07 14:24:58 +01:00
analysis.asciidoc [DOCS] Multiple doc fixes 2014-03-07 14:24:58 +01:00
cache.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
codec.asciidoc [DOCS] Multiple doc fixes 2014-03-07 14:24:58 +01:00
fielddata.asciidoc [DOCS] Fix default setting in circuit breaker documentation 2014-01-15 07:05:05 -07:00
mapper.asciidoc [DOCS] Multiple doc fixes 2014-03-07 14:24:58 +01:00
merge.asciidoc Move to use serial merge schedule by default 2014-03-18 13:17:00 +01:00
similarity.asciidoc Fix typo in similarity docs 2014-02-13 07:45:30 -08:00
slowlog.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
store.asciidoc fix docs to reflect removal of byte buffer memory 2014-02-03 09:54:30 -05:00
translog.asciidoc randomize flush interval so multiple shards won't flush at the sam time 2014-01-07 19:58:28 +01:00