Lchangliang commented on code in PR #35722: URL: https://github.com/apache/doris/pull/35722#discussion_r1623711169
########## be/src/io/cache/block_file_cache_factory.cpp: ########## @@ -92,16 +92,20 @@ Status FileCacheFactory::create_file_cache(const std::string& cache_base_path, } auto cache = std::make_unique<BlockFileCache>(cache_base_path, file_cache_settings); RETURN_IF_ERROR(cache->initialize()); - _path_to_cache[cache_base_path] = cache.get(); - _caches.push_back(std::move(cache)); + { Review Comment: the dir path is not same. -- 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