• omegaga's avatar
    Only cache level 0 indexes and filter when opening table reader · e70020e4
    omegaga authored
    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