SERVER-138780Open

Add resumable index build coverage for incremental spilling

Interrupting a build mid-collection-scan with committed-but-unpersisted spill batches is the case the captured resume position must survive: the resumed scan re-adds everything after {{lastSpilledRecordId}} and must not lose keys. This parameterizes the resumable scan-phase jstests with incremental spilling enabled and asserts no keys are lost via full validate, replicated hashes, and per-key lookups. The knob stays off for resumable builds until these pass.

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.