[SERVER-56008] Ensure abortThread is joined before shardingTest is shut down in resharding_abort_command.js Created: 09/Apr/21 Updated: 29/Oct/23 Resolved: 20/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Blake Oler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.0
|
||||||||
| Sprint: | Sharding 2021-05-17, Sharding 2021-05-31 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 21 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
It's possible that the abort and withResharding threads could be scheduled in such a way that the abortThread will fail out with a shutdownInProgress error if an abort is attempted after the decision has already been persisted. This is because we wait on the withResharding thread before the abort thread, which could shut down the shardingTest before the abortThread has run. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 20/May/21 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: (cherry picked from commit f7e43413cdaf50488983e008f891e4a34c89b878) |
| Comment by Githook User [ 19/May/21 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |