There are points in an index build where behavior is dependent on whether the node is a primary or secondary, at the beginning and at the end of a build. Checks should be added for replica set member state, so that the build pivots to primary or secondary roles appropriately.
- is depended on by
-
SERVER-39451 Add recover to a stable timestamp logic for startIndexBuild, abortIndexBuild, commitIndexBuild
- Closed
-
SERVER-39452 Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild
- Closed
-
SERVER-43692 enable two phase index builds by default
- Closed
- is related to
-
SERVER-38667 Notify IndexBuildsCoordinator of replica set member stepup and stepdown
- Closed
- related to
-
SERVER-45174 rollback should not abort single phased index builds
- Closed
-
SERVER-44198 Complete TODO listed in SERVER-39484
- Closed
-
SERVER-48419 Extend rollback to recover resumable index builds efficiently
- Closed
-
SERVER-44186 allow index builds to continue running on stepdown
- Closed