• O
    Only cache level 0 indexes and filter when opening table reader · e70020e4
    omegaga 提交于
    Summary: In T8216281 we decided to disable prefetching the index and filter during opening table handlers during startup (max_open_files = -1).
    
    Test Plan: Rely on `IndexAndFilterBlocksOfNewTableAddedToCache` to guarantee L0 indexes and filters are still cached and change `PinL0IndexAndFilterBlocksTest` to make sure other levels are not cached (maybe add one more test to test we don't cache other levels?)
    
    Reviewers: sdong, andrewkr
    
    Reviewed By: andrewkr
    
    Subscribers: andrewkr, dhruba
    
    Differential Revision: https://reviews.facebook.net/D59913
    e70020e4
block_based_table_reader.cc 69.5 KB