• A
    Fix compact_files_example · 09d982f9
    Andres Notzli 提交于
    Summary:
    See task #7983654. The example was triggering an assert in compaction job
    because the compaction was not marked as manual. With this patch,
    CompactionPicker::FormCompaction() marks compactions as manual. This patch
    also fixes a couple of typos, adds optimistic_transaction_example to
    .gitignore and librocksdb as a dependency for examples. Adding librocksdb as
    a dependency makes sure that the examples are built with the latest changes
    in librocksdb.
    
    Test Plan: make clean && cd examples && make all && ./compact_files_example
    
    Reviewers: rven, sdong, anthony, igor, yhchiang
    
    Reviewed By: yhchiang
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D45117
    09d982f9
db_impl.cc 162.3 KB