Revision 9360776cb9728686c32a8023fdd3f3bace3ce403 authored by Peter Dillinger on 03 June 2020, 17:40:13 UTC, committed by Facebook GitHub Bot on 03 June 2020, 17:43:01 UTC
Summary:
Because ARM and some other platforms have a larger cache line
size, they have a larger minimum filter size, which causes recently
added PartitionedMultiGet test in db_bloom_filter_test to fail on those
platforms. The code would actually end up using larger partitions,
because keys_per_partition_ would be 0 and never == number of keys
added.

The code now attempts to get as close as possible to the small target
size, while fully utilizing that filter size, if the target partition
size is smaller than the minimum filter size.

Also updated the test to break more uniformly across platforms
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6905

Test Plan: updated test, tested on ARM

Reviewed By: anand1976

Differential Revision: D21840639

Pulled By: pdillinger

fbshipit-source-id: 11684b6d35f43d2e98b85ddb2c8dcfd59d670817
1 parent 2adb7e3
History
File Mode Size
coverage_test.sh -rwxr-xr-x 2.3 KB
parse_gcov_output.py -rw-r--r-- 4.3 KB

back to top