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
History
File Mode Size
file_read_sample.h -rw-r--r-- 801 bytes
histogram.cc -rw-r--r-- 9.2 KB
histogram.h -rw-r--r-- 4.4 KB
histogram_test.cc -rw-r--r-- 7.1 KB
histogram_windowing.cc -rw-r--r-- 6.3 KB
histogram_windowing.h -rw-r--r-- 2.8 KB
instrumented_mutex.cc -rw-r--r-- 2.0 KB
instrumented_mutex.h -rw-r--r-- 2.3 KB
iostats_context.cc -rw-r--r-- 1.6 KB
iostats_context_imp.h -rw-r--r-- 1.7 KB
iostats_context_test.cc -rw-r--r-- 979 bytes
perf_context.cc -rw-r--r-- 6.4 KB
perf_context_imp.h -rw-r--r-- 2.1 KB
perf_level.cc -rw-r--r-- 683 bytes
perf_level_imp.h -rw-r--r-- 496 bytes
perf_step_timer.h -rw-r--r-- 1.8 KB
statistics.cc -rw-r--r-- 6.2 KB
statistics.h -rw-r--r-- 4.3 KB
statistics_test.cc -rw-r--r-- 1.0 KB
thread_status_impl.cc -rw-r--r-- 4.8 KB
thread_status_updater.cc -rw-r--r-- 11.0 KB
thread_status_updater.h -rw-r--r-- 8.5 KB
thread_status_updater_debug.cc -rw-r--r-- 1.3 KB
thread_status_util.cc -rw-r--r-- 7.1 KB
thread_status_util.h -rw-r--r-- 5.1 KB
thread_status_util_debug.cc -rw-r--r-- 966 bytes

back to top