rocksdb/table
Mayank Agarwal dad2731729 Fix bug in KeyMayExist
Summary: In KeyMayExist.db_test we do a Flush which causes sst file to be written and added as open file in TableCache, but block cache for the file is not populated. So value_found should have been false where it was true and KeyMayExist.db_test should not have passed earlier. But it passed because BlockReader in table/table.cc takes 2 default arguments at the end called for_compaction and no_io. Although I passed no_io=true from InternalGet to BlockReader, but it understood for_compaction=true and defaulted no_io to false. This is a bug and although will be removed by Dhruba's new patch to incorporate no_io in readoptions, I'm submitting this patch to fix this bug independently of that patch.

Test Plan: make all check

Reviewers: dhruba, haobo

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D12537
2013-08-26 08:45:58 -07:00
..
block_builder.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
block_builder.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
block_test.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
block.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
block.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
filter_block_test.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
filter_block.cc Internal/user key bug fix. 2013-08-23 14:49:57 -07:00
filter_block.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
format.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
format.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
iter_heap.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
iterator_wrapper.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
iterator.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
merger.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
merger.h A number of fixes: 2011-10-31 17:22:06 +00:00
table_builder.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
table_test.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
table.cc Fix bug in KeyMayExist 2013-08-26 08:45:58 -07:00
table.h Internal/user key bug fix. 2013-08-23 14:49:57 -07:00
two_level_iterator.cc [RocksDB] [Performance] Allow different posix advice to be applied to the same table file 2013-05-30 19:08:44 -07:00
two_level_iterator.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00