Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Repl 2021-01-11, Repl 2021-01-25, Repl 2021-02-08, Repl 2021-02-22
-
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 SERVER-51798 but is not related to it)