-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
SP Prioritized List
In SERVER-91012 we found that startSignalProcessingThread() is called in mongod_main.cpp, which does not run for unittests. Therefore, sigTid == -1, so we couldn't call terminateThread in stacktrace_threads.cpp, so the system deadlocks.
We should invariant() that the signal processing thread is started in printAllThreadStacksBlocking() to avoid a deadlock.
- related to
-
SERVER-91012 Recommit SERVER-71520
-
- Closed
-
-
SERVER-99671 Start the signal processing thread in unittests
-
- Open
-