yiguolei commented on code in PR #13984:
URL: https://github.com/apache/doris/pull/13984#discussion_r1014622330


##########
be/src/exec/hash_join_node.cpp:
##########
@@ -236,7 +236,12 @@ Status HashJoinNode::open(RuntimeState* state) {
     // main thread
     std::promise<Status> thread_status;
     add_runtime_exec_option("Hash Table Built Asynchronously");
-    std::thread(bind(&HashJoinNode::build_side_thread, this, state, 
&thread_status)).detach();
+    try {
+        std::thread(bind(&HashJoinNode::build_side_thread, this, state, 
&thread_status)).detach();
+    } catch (const std::system_error& e) {
+        LOG(WARN) << "create thread fail, " << e.what();

Review Comment:
   LOG(WARNING)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to