[SERVER-53358] Need to shut down taskExecutor in TenantOpogBatcherTest explicitly in destructor Created: 14/Dec/20 Updated: 29/Oct/23 Resolved: 10/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Matthew Russotto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_other_required | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Repl 2021-01-11, Repl 2021-01-25, Repl 2021-02-08, Repl 2021-02-22 | ||||
| Participants: | |||||
| Linked BF Score: | 9 | ||||
| Description |
|
Because we are using a shared pointer, there is a small window in which the component join() can complete while the task executor is still referenced. If the ServiceContext goes out of scope during that window, we hit an invariant. (This was found when testing |
| Comments |
| Comment by Githook User [ 10/Feb/21 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}Message: |