[SERVER-44998] add server parameter for default two phase index build commit quorum Created: 06/Dec/19  Updated: 29/Oct/23  Resolved: 27/Jan/20

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

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Suganthi Mani
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-39485 Add logic for primaries to wait for s... Closed
Related
related to SERVER-37953 Create setIndexCommitQuorum command Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-01-13, Execution Team 2020-01-27, Execution Team 2020-02-10, Execution Team 2019-12-30
Participants:

 Description   

This server parameter is intended to support the implementation of a consensus protocol for two phase index builds. This setting will be used by the createIndexes command or IndexBuildsCoordinator when processing a new index creation request from the client. The initial default for this server parameter should be consistent with the current two phase index build behavior where we do not consider any commit quorum before writing a commitIndexBuild oplog entry.

 

Additionally, we should provide a way for JS tests to check this setting, possibly though the serverStatus output.

 

We should also add a builder to the CI system that explicitly sets this server parameter to provide coverage for the index build commit quorum.

 



 Comments   
Comment by Suganthi Mani [ 27/Jan/20 ]

Note: "enableIndexBuildMajorityCommitQuorum" is a server parameter that got added by this ticket. This server parameter won't be exposed to user, it's used only for internal testing. So, no documentation required.

Comment by Githook User [ 27/Jan/20 ]

Author:

{'username': 'smani87', 'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com'}

Message: SERVER-44998 Add server parameter to support commit quorum for two phase index builds.
Branch: master
https://github.com/mongodb/mongo/commit/872e41c2f37722ae2c8f9d119d3b6417f086a284

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