yiguolei commented on code in PR #39223: URL: https://github.com/apache/doris/pull/39223#discussion_r1715097390
########## be/src/runtime/fragment_mgr.cpp: ########## @@ -133,6 +136,94 @@ std::string to_load_error_http_path(const std::string& file_name) { using apache::thrift::TException; using apache::thrift::transport::TTransportException; +static bool _get_all_running_queries(std::unordered_set<TUniqueId>& result_ref) { + const std::map<TNetworkAddress, FrontendInfo>& running_fes = + ExecEnv::GetInstance()->get_running_frontends(); + + std::vector<TNetworkAddress> qualified_fes; Review Comment: 我们的返回值,不应该是一个set 应该是 map<feuid,set<queryid>> 我们检测的时候,应该检测一个query的fe uid 在这个map里,同时他不在后面这个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