mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 04:41:49 +00:00
2a986919d6
Summary: Wrote a new function in db_impl.c-CheckKeyMayExist that calls Get but with a new parameter turned on which makes Get return false only if bloom filters can guarantee that key is not in database. Delete calls this function and if the option- deletes_use_filter is turned on and CheckKeyMayExist returns false, the delete will be dropped saving: 1. Put of delete type 2. Space in the db,and 3. Compaction time Test Plan: make all check; will run db_stress and db_bench and enhance unit-test once the basic design gets approved Reviewers: dhruba, haobo, vamsi Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D11607 |
||
---|---|---|
.. | ||
block.cc | ||
block.h | ||
block_builder.cc | ||
block_builder.h | ||
block_test.cc | ||
filter_block.cc | ||
filter_block.h | ||
filter_block_test.cc | ||
format.cc | ||
format.h | ||
iter_heap.h | ||
iterator.cc | ||
iterator_wrapper.h | ||
merger.cc | ||
merger.h | ||
table.cc | ||
table.h | ||
table_builder.cc | ||
table_test.cc | ||
two_level_iterator.cc | ||
two_level_iterator.h |