Single phased index build currently obtain a ghost timestamp for completing the index build on secondaries in the IndexBuildsCoordinator::onCommitIndexBuild() callback. Unfortunately, this only occurs under feature compatibility version 4.4. We should consider moving this logic to the onCreateIndex() callback where it will not be be affected by the current FCV.
- is caused by
-
SERVER-44186 allow index builds to continue running on stepdown
- Closed
- is related to
-
SERVER-45733 Remove dead code which explicitly tries to set ghost timestamp in IndexBuildsManager::commitIndexBuild
- Closed
-
SERVER-45064 Stop replicating startIndexBuild and commitIndexBuild oplog entries for single-phase index builds
- Closed