[SERVER-48417] adjust startup to resume index build from phase 3 (catch up from side table) Created: 26/May/20  Updated: 29/Oct/23  Resolved: 11/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: Samyukta Lanka
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-50127 Coverity analysis defect 116104: Usin... Closed
related to SERVER-49163 extend internal index build interface... Closed
is related to SERVER-39715 Do not drop index build temp tables o... Closed
is related to SERVER-44391 Refine startup cleanup of tmpfiles fo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-29, Execution Team 2020-07-27, Execution Team 2020-08-10, Execution Team 2020-08-24
Participants:
Linked BF Score: 5

 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 side table catch up phase. The internal ident for the index build should have the following phase:

{ _id: <build uuid>,
  phase: "drain writes",
  ...
}



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

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-48417 Test that multi-node sets resume index builds from the drain writes phase
Branch: master
https://github.com/mongodb/mongo/commit/2a5a3b729c592dd9e8b1003f4c8cf4c9a549bd8f

Comment by Githook User [ 04/Aug/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-48417 Reconstruct in-memory state when resuming index build
Branch: master
https://github.com/mongodb/mongo/commit/2fc36d0b12d1c44893a5f3c1fe0ac8fb0125a071

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