yiguolei commented on code in PR #48187: URL: https://github.com/apache/doris/pull/48187#discussion_r1974725011
########## fe/fe-core/src/main/java/org/apache/doris/load/loadv2/BrokerLoadJob.java: ########## @@ -231,6 +236,29 @@ brokerFileGroups, getDeadlineMs(), getExecMemLimit(), UUID uuid = UUID.randomUUID(); TUniqueId loadId = new TUniqueId(uuid.getMostSignificantBits(), uuid.getLeastSignificantBits()); + ConnectContext context = ConnectContext.get(); + if (context == null) { + context = new ConnectContext(); + context.setThreadLocalInfo(); Review Comment: 为什么要set -- 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