• S
    Add options.new_table_reader_for_compaction_inputs · 9130873a
    sdong 提交于
    Summary: Currently compaction inputs share the same file descriptor and table reader as other foreground threads. It makes fadvise works less predictable. Add options.new_table_reader_for_compaction_inputs to enforce to create a new file descriptor and new table reader for it.
    
    Test Plan: Add the option.
    
    Reviewers: rven, anthony, kradhakrishnan, IslamAbdelRahman, igor, yhchiang
    
    Reviewed By: igor
    
    Subscribers: igor, MarkCallaghan, leveldb, dhruba
    
    Differential Revision: https://reviews.facebook.net/D43311
    9130873a
options_helper.h 5.6 KB