yiguolei commented on code in PR #28940: URL: https://github.com/apache/doris/pull/28940#discussion_r1437575454
########## be/src/olap/page_cache.h: ########## @@ -177,20 +177,20 @@ class StoragePageCache { Cache* _get_page_cache(segment_v2::PageTypePB page_type) { switch (page_type) { case segment_v2::DATA_PAGE: { - if (_data_page_cache) { - return _data_page_cache->get(); + if (_data_page_cache->is_init()) { Review Comment: 这里为啥要检查 is init?直接返回不行吗? -- 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