[SERVER-50922] Add 'preparing-to-mirror' state to donor state machine Created: 14/Sep/20  Updated: 29/Oct/23  Resolved: 22/Oct/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Vishnu Kaushik
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
Sprint: Sharding 2020-11-02
Participants:

 Description   

Add a new state to resharding coordinator state machines and state machines 'preparing-to-mirror'.

Context: Donors should enter this state upon seeing the coordinator enter 'mirroring', write the final oplog entry indicating that 'all writes must be run in distributed transactions', and then transition to 'mirroring' themselves after.



 Comments   
Comment by Githook User [ 22/Oct/20 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-50922 add kPreparingToMirror to resharding donor service
Branch: master
https://github.com/mongodb/mongo/commit/aa9170343b895c2a0cfa9a897c6b0a432a6330d5

Comment by Janna Golden [ 09/Oct/20 ]

blake.oler, yeah sounds good to me!

Comment by Blake Oler [ 09/Oct/20 ]

janna.golden Are we still in agreement about the bounds of this ticket? I'm thinking of farming it out to a new grad

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