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
File | Mode | Size |
---|---|---|
cf_options.cc | -rw-r--r-- | 8.6 KB |
cf_options.h | -rw-r--r-- | 8.2 KB |
db_options.cc | -rw-r--r-- | 13.5 KB |
db_options.h | -rw-r--r-- | 3.1 KB |
options.cc | -rw-r--r-- | 23.9 KB |
options_helper.cc | -rw-r--r-- | 83.5 KB |
options_helper.h | -rw-r--r-- | 8.3 KB |
options_parser.cc | -rw-r--r-- | 30.1 KB |
options_parser.h | -rw-r--r-- | 5.1 KB |
options_sanity_check.cc | -rw-r--r-- | 1.1 KB |
options_sanity_check.h | -rw-r--r-- | 1.7 KB |
options_settable_test.cc | -rw-r--r-- | 20.6 KB |
options_test.cc | -rw-r--r-- | 74.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...