Currently, index builds are restarted from the beginning. To be able to resume an index build, we require the temporary tables used by the hybrid index build to be preserved on startup and the progress information in the internal index build table (one table per index build).
This ticket implements the resumable index build logic for index builds that were shut down during the collection scan phase. The internal ident for the index build should have the following phase:
{ _id: <build uuid>, phase: "collection scan", ... }
- is depended on by
-
SERVER-50095 Augment ResumableIndexBuildTest to ensure that index builds are resumed from the correct phase
- Closed
- is related to
-
SERVER-43269 Implement resumeAfterRecordId in CollectionScan and CollectionScanParams.
- Closed
-
SERVER-50289 Remove tempDir from persisted resumable index build state
- Closed
- related to
-
SERVER-50221 Keep NoLimitSorter aware of its in-memory data even after calling done()
- Closed
-
SERVER-49163 extend internal index build interfaces to accept resumable index build information
- Closed