[SERVER-62424] _configsvrRemoveShard must wait for majority before returning Created: 07/Jan/22 Updated: 29/Oct/23 Resolved: 11/Jan/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Sharding EMEA 2022-01-10, Sharding EMEA 2022-01-24 | ||||
| Participants: | |||||
| Linked BF Score: | 138 | ||||
| Description |
|
The _configsvrRemoveShard command must wait for majority before returning in order to ensure causal consistency. It should be enough to add the following code at the end of the command:
|
| Comments |
| Comment by Githook User [ 11/Jan/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |