To prepare for SERVER-39239, which blocks index builds until a commitIndexBuild oplog entry is received, we will extend the createIndexes command to emit a no-op commitIndexBuild oplog entry on success. The index build is still completed at the optime indicated by the createIndexes oplog entry. The commitIndexBuild oplog entry should have no effect on downstream secondaries.
- is depended on by
-
SERVER-39239 Two-phase index builds on secondaries will wait for the commitIndexBuild oplog entry before committing.
- Closed
- related to
-
SERVER-42764 improve test assertion message in two_phase_index_build.js
- Closed
-
SERVER-45064 Stop replicating startIndexBuild and commitIndexBuild oplog entries for single-phase index builds
- Closed