• H
    [RocksDB] Cleanup compaction filter to use a class interface, instead of... · 4ca3c67b
    Haobo Xu 提交于
    [RocksDB] Cleanup compaction filter to use a class interface, instead of function pointer and additional context pointer.
    
    Summary:
    This diff replaces compaction_filter_args and CompactionFilter with a single compaction_filter parameter. It gives CompactionFilter better encapsulation and a similar look to Comparator and MergeOpertor, which improves consistency of the overall interface.
    The change is not backward compatible. Nevertheless, the two references in fbcode are not in production yet.
    
    Test Plan: make check
    
    Reviewers: dhruba
    
    Reviewed By: dhruba
    
    CC: leveldb, zshao
    
    Differential Revision: https://reviews.facebook.net/D10773
    4ca3c67b
db_ttl.cc 7.1 KB