[SERVER-54512] Replace resharding "mirroring" related states to "blocking writes" Created: 12/Feb/21 Updated: 29/Oct/23 Resolved: 25/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Yuhong Zhang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-lifecycle | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2021-03-08 |
| Participants: | |
| Story Points: | 1 |
| Description |
|
The resharding mirroring states, CoordinatorStateEnum::kMirroring, DonorStateEnum::kPreparingToMirror, and DonorStateEnum::kMirroring would be more accurate if we replaced Mirroring with Blocking Writes |
| Comments |
| Comment by Githook User [ 25/Feb/21 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'danielzhangyh@gmail.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Max Hirschhorn [ 19/Feb/21 ] |
|
Also as part of this ticket, we should either (a) remove the "donorShardsMirroring" field from the recipient state document and get the list of donor shards from the ChunkManager for the source collection, or (b) replace the "donorShardsMirroring" field with a {donorShards: {type: array<shard_id>}} field. |