[SERVER-49409] adjust startup to resume index build from phase 1 (collection scan) Created: 09/Jul/20  Updated: 29/Oct/23  Resolved: 13/Aug/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-50095 Augment ResumableIndexBuildTest to en... Closed
Related
related to SERVER-50221 Keep NoLimitSorter aware of its in-me... Closed
related to SERVER-49163 extend internal index build interface... Closed
is related to SERVER-43269 Implement resumeAfterRecordId in Coll... Closed
is related to SERVER-50289 Remove tempDir from persisted resumab... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-08-10, Execution Team 2020-08-24
Participants:

 Description   

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",
 ...
}



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-49409 Enable resuming index builds from the collection scan phase
Branch: master
https://github.com/mongodb/mongo/commit/424f10ec4bc7b333bd682c7490fc6147688fd0ec

Generated at Thu Feb 08 05:19:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.