[SERVER-76872] MovePrimaryDonor Can Outlive MovePrimaryCoordinator Created: 05/May/23 Updated: 29/Oct/23 Resolved: 14/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 7.0.0-rc0, 7.1.0-rc0 |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Brett Nawrocki | Assignee: | Brett Nawrocki |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v7.0
|
||||||||||||||||
| Sprint: | Sharding NYC 2023-05-15 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 135 | ||||||||||||||||
| Description |
|
The MovePrimaryCoordinator will attempt to find an existing MovePrimaryDonor after a step up. However, if the MovePrimaryCoordinator is already aborted while stepping up, _runImpl() is never called, instead proceeding immediately to _cleanupOnAbort(). In this case, the coordinator will never find the existing donor, and as a result never try to clean it up. |
| Comments |
| Comment by Githook User [ 15/May/23 ] |
|
Author: {'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}Message: (cherry picked from commit 7ab0d365afc71fbd43b3583fae5424cfb8f7e1a8) |
| Comment by Githook User [ 13/May/23 ] |
|
Author: {'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}Message: |