morningman commented on code in PR #39036: URL: https://github.com/apache/doris/pull/39036#discussion_r1708760493
########## be/src/io/cache/block/block_lru_file_cache.cpp: ########## @@ -376,6 +389,16 @@ void LRUFileCache::fill_holes_with_empty_file_blocks(FileBlocks& file_blocks, co FileBlocksHolder LRUFileCache::get_or_set(const Key& key, size_t offset, size_t size, const CacheContext& context) { + if (!_lazy_open_done) { + // Cache is not ready yet + LOG(WARNING) << std::format( Review Comment: Use VLOG -- 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