[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: SERVER-54512 Replace resharding "mirroring" related states to "blocking writes"
Branch: master
https://github.com/mongodb/mongo/commit/5f94566c93499902cb51e9f67eb5ba8a751acd59

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.

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