• M
    Support for range skips in compaction filter · 247d0979
    Mike Kolupaev 提交于
    Summary:
    This adds the ability for compaction filter to say "drop this key-value, and also drop everything up to key x". This will cause the compaction to seek input iterator to x, without reading the data. This can make compaction much faster when large consecutive chunks of data are filtered out. See the changes in include/rocksdb/compaction_filter.h for the new API.
    
    Along the way this diff also adds ability for compaction filter changing merge operands, similar to how it can change values; we're not going to use this feature, it just seemed easier and cleaner to implement it than to document that it's not implemented :)
    
    The diff is not as big as it may seem, about half of the lines are a test.
    Closes https://github.com/facebook/rocksdb/pull/1599
    
    Differential Revision: D4252092
    
    Pulled By: al13n321
    
    fbshipit-source-id: 41e1e48
    247d0979
可在Tags中查看这些版本中当前仓库的状态.
HISTORY.md 38.5 KB