• L
    Support readahead during compaction for blob files (#9187) · dc5de45a
    Levi Tamasi 提交于
    Summary:
    The patch adds a new BlobDB configuration option `blob_compaction_readahead_size`
    that can be used to enable prefetching data from blob files during compaction.
    This is important when using storage with higher latencies like HDDs or remote filesystems.
    If enabled, prefetching is used for all cases when blobs are read during compaction,
    namely garbage collection, compaction filters (when the existing value has to be read from
    a blob file), and `Merge` (when the value of the base `Put` is stored in a blob file).
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/9187
    
    Test Plan: Ran `make check` and the stress/crash test.
    
    Reviewed By: riversand963
    
    Differential Revision: D32565512
    
    Pulled By: ltamasi
    
    fbshipit-source-id: 87be9cebc3aa01cc227bec6b5f64d827b8164f5d
    dc5de45a
block_based_table_reader.h 32.9 KB