Revision 408205a36b8518eef7837e123b255c79cafed8b0 authored by Zhongyi Xie on 26 June 2018, 22:56:26 UTC, committed by Facebook Github Bot on 26 June 2018, 22:57:26 UTC
Summary: Previously in https://github.com/facebook/rocksdb/pull/3601 bloom filter will only be checked if `prefix_extractor` in the mutable_cf_options matches the one found in the SST file. This PR relaxes the requirement by checking if all keys in the range [user_key, iterate_upper_bound) all share the same prefix after transforming using the BF in the SST file. If so, the bloom filter is considered compatible and will continue to be looked at. Closes https://github.com/facebook/rocksdb/pull/3899 Differential Revision: D8157459 Pulled By: miasantreble fbshipit-source-id: 18d17cba56a1005162f8d5db7a27aba277089c41
1 parent 967aa81
File | Mode | Size |
---|---|---|
alloc_tracker.cc | -rw-r--r-- | 1.9 KB |
hash_cuckoo_rep.cc | -rw-r--r-- | 24.7 KB |
hash_cuckoo_rep.h | -rw-r--r-- | 1.6 KB |
hash_linklist_rep.cc | -rw-r--r-- | 29.2 KB |
hash_linklist_rep.h | -rw-r--r-- | 1.8 KB |
hash_skiplist_rep.cc | -rw-r--r-- | 11.1 KB |
hash_skiplist_rep.h | -rw-r--r-- | 1.4 KB |
inlineskiplist.h | -rw-r--r-- | 34.0 KB |
inlineskiplist_test.cc | -rw-r--r-- | 17.2 KB |
memtablerep_bench.cc | -rw-r--r-- | 24.2 KB |
skiplist.h | -rw-r--r-- | 15.6 KB |
skiplist_test.cc | -rw-r--r-- | 10.2 KB |
skiplistrep.cc | -rw-r--r-- | 8.9 KB |
stl_wrappers.h | -rw-r--r-- | 885 bytes |
vectorrep.cc | -rw-r--r-- | 9.0 KB |
write_buffer_manager.cc | -rw-r--r-- | 4.8 KB |
write_buffer_manager_test.cc | -rw-r--r-- | 5.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...