[SERVER-52838] Clean up resharding state upon seeing a reshardingFields transition to kError on donors/recipients Created: 12/Nov/20 Updated: 29/Oct/23 Resolved: 05/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-error-flow | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2021-05-03, Sharding 2021-05-17 | ||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
Upon seeing the reshardingFields transition, the shard should write to the coordinator that it has transitioned to error, cancel all requisite operations, then clean up its local metadata. |
| Comments |
| Comment by Githook User [ 05/May/21 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: |
| Comment by Haley Connelly [ 22/Feb/21 ] |
|
Right now, in resharding_test_fixture, _checkPostState() is only called on success, not error. This ticket should ensure that we check the post state in both cases. |