You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core: Lucene merges must run on target shard during recovery
This does not affect 2.0, where we let Lucene launch merges normally
(elastic#8643).
In 1.x, every 1 sec (default), we ask Lucene to kick off any new
merges, but we unfortunately don't turn that logic on in the target
shard until after recovery has finished.
This means if you have a large translog, and/or a smallish index
buffer, way too many segments can accumulate in the target shard
during recovery, making version lookups slower and slower (OI(N^2))
and possibly causing slow recovery issues like elastic#9226.
This fix changes IndexShard to launch merges as soon as the shard is
created, so merging runs during recovery.
Closeselastic#10463
0 commit comments