Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
Service arch 2020-11-30
-
0
Description
We use launchServiceWorkerThread() to spawn new threads for ServiceExecutorSynchronous. It may return a non-okay status on the event of a failure. However, the information stored in the returned status is sometimes not very useful (see below). We should improve the error reporting components of this function to facilitate debugging.
[cpp_unit_test:transport_test] 2020-07-08T09:53:11.436+0000 | 2020-07-08T09:53:11.436Z E TEST 23070 [main] "Throwing exception","attr":{"exception":"Expected ::mongo::Status::OK() == (status) (OK == InternalError Failed to create service entry worker thread: pthread_create failed: Success) @src/mongo/transport/service_executor_test.cpp:144"}
|
Attachments
Issue Links
- duplicates
-
SERVER-48509 "failed to create service entry worker thread" discards root cause exception message
-
- Closed
-
-
SERVER-50035 save the errno from pthread_create to report later
-
- Closed
-