[SERVER-42760] emit no-op commitIndexBuild oplog entry on successful createIndexes command Created: 12/Aug/19  Updated: 29/Oct/23  Resolved: 23/Aug/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
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-39239 Two-phase index builds on secondaries... Closed
Related
related to SERVER-42764 improve test assertion message in two... Closed
related to SERVER-45064 Stop replicating startIndexBuild and ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-08-26
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 23/Aug/19 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-42760 IndexBuildsCoordinator emits both createIndexes and commitIndexBuild oplog entries on success
Branch: master
https://github.com/mongodb/mongo/commit/cd309048c436e63df60ef01109ebaac13b59cc44

Comment by Githook User [ 22/Aug/19 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-42760 AuthManager handles commitIndexBuild
Branch: master
https://github.com/mongodb/mongo/commit/922fc6149715699d0c2e035152f1ee954599bf04

Comment by Githook User [ 22/Aug/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-42760 apply_ops_idempotency.js filters out commitIndexBuild oplog entries during replay
Branch: master
https://github.com/mongodb/mongo/commit/e12f75c9e74aa37c66797cd0c4e8f9407f1cb2d7

Comment by Githook User [ 22/Aug/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-42760 add namespace to invariant message in ReplicationCoordinatorImpl::canAcceptWritesFor()
Branch: master
https://github.com/mongodb/mongo/commit/c3dc3150df419d254d351da6664ab9c545be86b6

Comment by Githook User [ 22/Aug/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-42760 provide default list of acceptable errors for commitIndexBuild and reformat
Branch: master
https://github.com/mongodb/mongo/commit/42d70a902b18abf1fa5fe42753c9c1d63b67a6ac

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