SERVER-138728Backlog

Add a building-index phase to the resharding coordinator

Recipients build indexes after cloning, but the coordinator stays in the cloning  phase for that entire duration. Donor history is currently unpinned when the coordinator advances to applying, even though the retained history is only needed until all recipients finish cloning. Long-running index builds can extend the time donor history remains pinned, increasing cache pressure and adding system pressure. The coordinator needs a distinct building-index phase that begins once every recipient

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
resharding-improvements