[SERVER-37149] Remove deadlock in ScheduleBeforeStartupTest Created: 14/Sep/18 Updated: 29/Oct/23 Resolved: 19/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.9, 4.0.3, 4.1.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Platforms 2018-09-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 67 | ||||||||
| Description |
|
It turns out that we race to acquire the test control mutex in ScheduleBeforeStartupTest. If the testing thread wins, then the periodic runner is stuck mid-job. Since it is blocked in the job, tearDown hangs. |
| Comments |
| Comment by Githook User [ 12/Oct/18 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: (cherry picked from commit 82b341a24fdf50fef468fc64b58b55818943779c) |
| Comment by Githook User [ 21/Sep/18 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: (cherry picked from commit 82b341a24fdf50fef468fc64b58b55818943779c) |
| Comment by Githook User [ 17/Sep/18 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: |