-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
-
Storage NYC 2019-01-28
Index builds must be able to vote for commit at some point that is recoverable after server restart. Re the design refactor, index builds will have two phases, scanning/building and draining. Once the index build reaches draining, it should be recoverable. The draining phase will include constraint violations checking prior to commit. Therefore, index builds must be able to move from draining the side table, to constraint checking or committing, back to draining again.
SERVER-37645 adds parsing and verification logic for the new fields in the index catalog entries to facilitate recovery.
SERVER-38986 figures out how to acquire a timestamp at which to update the index catalog entry fields separate from the initial and final writes for start and commit index build, respectively.
- depends on
-
SERVER-37645 Add parsing for new index build fields in index catalog entries
- Closed
-
SERVER-38986 Timestamp drained writes from the index build side table to the index
- Closed
-
SERVER-39003 Index build constraint violations and interceptor side table must not be dropped on server restart
- Closed
- is related to
-
SERVER-38571 Restarting a replica set member as a standalone should not discard !isBackgroundSecondaryBuild in-progress builds when it is a simultaneous index build
- Closed
- related to
-
SERVER-38605 IndexBuildsCoordinator writes commitIndexBuild oplog entry only in FCV 4.4
- Closed
-
SERVER-44206 Complete TODO listed in SERVER-37952
- Closed