• S
    Preload some files even if options.max_open_files (#3340) · f0dda35d
    Siying Dong 提交于
    Summary:
    Choose to preload some files if options.max_open_files != -1. This can slightly narrow the gap of performance between options.max_open_files is -1 and a large number. To avoid a significant regression to DB reopen speed if options.max_open_files != -1. Limit the files to preload in DB open time to 16.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/3340
    
    Differential Revision: D6686945
    
    Pulled By: siying
    
    fbshipit-source-id: 8ec11bbdb46e3d0cdee7b6ad5897a09c5a07869f
    f0dda35d
table_cache.h 6.8 KB