wangbo commented on code in PR #38238:
URL: https://github.com/apache/doris/pull/38238#discussion_r1689549962


##########
be/src/service/doris_main.cpp:
##########
@@ -313,6 +313,7 @@ struct Checker {
         ;
 
 int main(int argc, char** argv) {
+    SCOPED_INIT_THREAD_CONTEXT();

Review Comment:
   用这个是初始化threadcontext上下文的,dorismain里也会调用file.read,这里不加这个宏,就npe了



-- 
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