SERVER-137550ClosedDone

Detect when a cluster needs to recursively merge during an index build

When spilling during an index build, if the number of range iterators exceeds a certain limit we perform recursive merging on the sorted ranges, which is expensive and leads to longer lasting index builds. If we can detect when we are performing recursive merges, we will have signal that the cluster is in a sense "overloaded" and that by upgrading the instance size of the cluster we can avoid recursive merging and decrease the time spent on the index build

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.