[SERVER-45064] Stop replicating startIndexBuild and commitIndexBuild oplog entries for single-phase index builds Created: 11/Dec/19  Updated: 29/Oct/23  Resolved: 08/Jan/20

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

Type: Improvement 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:
Related
related to SERVER-45028 move timestamping logic for completin... Closed
is related to SERVER-45347 2-phase index build on empty collecti... Closed
is related to SERVER-42760 emit no-op commitIndexBuild oplog ent... Closed
is related to SERVER-43023 emit no-op startIndexBuild oplog entr... Closed
is related to SERVER-43024 secondary oplog application should ig... Closed
is related to SERVER-44723 Stop replicating abortIndexBuild oplo... Closed
is related to SERVER-45393 add setParameter support to dbtest Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-01-13, Execution Team 2019-12-30
Participants:

 Description   

We started writing no-op startIndexBuild and commitIndexBuild oplog entries for single-phase index builds in SERVER-42760 and SERVER-43023. This was done to support the development of two phase index builds. Now that two phase index builds have been made the default in SERVER-43692, these oplog entries are no longer necessary for single phase index builds. Continuing to generate these oplog entries for single phase index builds may also be problematic for mixed version clusters and clusters with different majority read concern settings across nodes.



 Comments   
Comment by Githook User [ 08/Jan/20 ]

Author:

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

Message: SERVER-45064 fix dbtest and unit tests to work with single phased index builds
Branch: master
https://github.com/mongodb/mongo/commit/2af07aa64df5bfe3f0f7877b02bd8dbc0fff881e

Comment by Githook User [ 08/Jan/20 ]

Author:

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

Message: SERVER-45064 single phased index builds do not generate startIndexBuild or commitIndexBuild oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/accf5bb6e6abb3b0f739aca5edc073045df28a17

Comment by Benety Goh [ 07/Jan/20 ]

The proposed changes in review affect the certain suites in dbtest which will not get sufficient test coverage without SERVER-45393.

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