dataroaring commented on code in PR #24649: URL: https://github.com/apache/doris/pull/24649#discussion_r1333063086
########## be/src/runtime/load_path_mgr.cpp: ########## @@ -91,8 +88,8 @@ Status LoadPathMgr::init() { Status LoadPathMgr::allocate_dir(const std::string& db, const std::string& label, std::string* prefix) { - if (_path_vec.empty()) { - return Status::InternalError("No load path configured."); + for (auto& store_path : _exec_env->store_paths()) { + _path_vec.push_back(store_path.path + "/" + MINI_PREFIX); } Review Comment: The size of _path_vec increases multi times. -- 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