deardeng commented on code in PR #48187: URL: https://github.com/apache/doris/pull/48187#discussion_r1994628431
########## fe/fe-core/src/main/java/org/apache/doris/load/loadv2/BrokerLoadJob.java: ########## @@ -219,6 +221,37 @@ private void onPendingTaskFinished(BrokerPendingTaskAttachment attachment) { loadStartTimestamp = System.currentTimeMillis(); } + // make public for UT + public void setComputeGroup() { + ComputeGroup computeGroup = null; + ConnectContext context = ConnectContext.get(); + try { + if (context == null) { + context = new ConnectContext(); + context.setThreadLocalInfo(); + } + + String currentUser = getUserInfo().getQualifiedUser(); + // user is null or get an invalid compute group should not be normal case, + // broker load job can get all backends when meets it. Review Comment: 存算分离上也是这个策略么?有个降级逻辑? -- 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