]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix bug in block based tables with full filter block and prefix_extractor
authorIslam AbdelRahman <tec@fb.com>
Tue, 26 Jan 2016 19:07:08 +0000 (11:07 -0800)
committerIslam AbdelRahman <tec@fb.com>
Wed, 27 Jan 2016 02:44:56 +0000 (18:44 -0800)
commit3c3020c61b304e17110fa59c9bceb190fa9ee6a0
tree9815f08ad5068ad1f5a1ae92a95580f8ca4b8849
parent2d8fa53ffb7e78466eb82c7344a3a58b40f30de1
Fix bug in block based tables with full filter block and prefix_extractor

Summary:
Right now when we are creating a BlockBasedTable with fill filter block
we add to the filter all the prefixes that are InDomain() based on the prefix_extractor

the problem is that when we read a key from the file, we check the filter block for the prefix whether or not it's InDomain()

Test Plan: unit tests

Reviewers: yhchiang, rven, anthony, kradhakrishnan, sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D53385
db/db_test.cc
table/block_based_table_reader.cc