[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: |