yiguolei commented on code in PR #20456:
URL: https://github.com/apache/doris/pull/20456#discussion_r1218814082


##########
be/src/olap/rowset/segment_v2/column_reader.cpp:
##########
@@ -220,7 +225,8 @@ Status ColumnReader::init() {
 }
 
 Status ColumnReader::new_bitmap_index_iterator(BitmapIndexIterator** iterator) 
{
-    RETURN_IF_ERROR(_ensure_index_loaded());
+    bool use_page_cache = !config::disable_storage_page_cache && 
_index_meta_use_page_cache;

Review Comment:
   could we add a private class member use_page_cache? Then we could just use 
the class member at line 229.



-- 
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

Reply via email to