[SERVER-53138] Make ReshardingCoordinatorService use $set for state and fetchTimestamp updates Created: 30/Nov/20 Updated: 29/Oct/23 Resolved: 01/Dec/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Haley Connelly |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M2, PM-234-T-lifecycle | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding 2020-12-14 |
| Participants: |
| Description |
|
Currently, the ReshardingCoordinatorService does a full update of the coordinator document when it updates its state. This is problematic when other participants update their states concurrently and their changes get overwritten by the full document update. |
| Comments |
| Comment by Githook User [ 01/Dec/20 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: |