Revision de98fd88e3b9e4ac5c8114aada07635256d9e3ae authored by Zhongyi Xie on 13 July 2018, 02:33:59 UTC, committed by Facebook Github Bot on 13 July 2018, 02:42:27 UTC
Summary:
Right now there is no support for enabling compaction filter in db_bench, we should add support for that to facilitate testing of compaction filter.
This PR adds a compaction filter called KeepFilter and make `Filter` always returns false, essentially a noop compaction filter. This will allow us to test compaction filter code path without having to support arbitrary compaction filters
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4106

Differential Revision: D8828517

Pulled By: miasantreble

fbshipit-source-id: 9ad76d04103eaa9d00da98334b4a39e542d26c41
1 parent 97fe23f
History
File Mode Size
block_cache_tier.cc -rw-r--r-- 11.5 KB
block_cache_tier.h -rw-r--r-- 5.0 KB
block_cache_tier_file.cc -rw-r--r-- 15.6 KB
block_cache_tier_file.h -rw-r--r-- 9.7 KB
block_cache_tier_file_buffer.h -rw-r--r-- 3.1 KB
block_cache_tier_metadata.cc -rw-r--r-- 2.2 KB
block_cache_tier_metadata.h -rw-r--r-- 3.3 KB
hash_table.h -rw-r--r-- 6.4 KB
hash_table_bench.cc -rw-r--r-- 8.1 KB
hash_table_evictable.h -rw-r--r-- 4.7 KB
hash_table_test.cc -rw-r--r-- 3.8 KB
lrulist.h -rw-r--r-- 3.4 KB
persistent_cache_bench.cc -rw-r--r-- 10.9 KB
persistent_cache_test.cc -rw-r--r-- 16.2 KB
persistent_cache_test.h -rw-r--r-- 7.6 KB
persistent_cache_tier.cc -rw-r--r-- 4.4 KB
persistent_cache_tier.h -rw-r--r-- 9.9 KB
persistent_cache_util.h -rw-r--r-- 1.4 KB
volatile_tier_impl.cc -rw-r--r-- 3.9 KB
volatile_tier_impl.h -rw-r--r-- 3.8 KB

back to top