[SERVER-62021] Allow replacement of local replica set config Created: 13/Dec/21  Updated: 29/Oct/23  Resolved: 27/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Didier Nadeau
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-01-24, Server Serverless 2022-02-07
Participants:

 Description   

Improve the ReplicationCoordinatorExternalState to support replacing the local config document (it currently only supports updating it). The split prototype did this with a delete + insert, but that won't work for a production system. Instead, we need to wrap the delete + insert in a transaction so we can guarantee an atomic replacement.



 Comments   
Comment by Githook User [ 26/Jan/22 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-62021 Add method to atomically replace replica set config
Branch: master
https://github.com/mongodb/mongo/commit/e0d21365da8e86ce2ad10547a23c50a1104cb02d

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