[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: |
| 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 |