rocksdb/table
sdong a70d08ec07 Fix the bug of using freed memory introduced by recent plain table reader patch
Summary: Recent patch introduced a bug that if non-mmap mode is used, in prefix encoding case, there is a resizing of cur_key_ within the same prefix, we still read prefix from the released buffer. It fails ASAN tests and this commit fixes it.

Test Plan: Run the ASAN tests for the failing test case.

Reviewers: IslamAbdelRahman, yhchiang, anthony, igor, kradhakrishnan, rven

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D47457
2015-09-23 16:16:26 -07:00
..
adaptive_table_factory.cc Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
adaptive_table_factory.h PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
block.cc perf_context: report time spent on reading index and bloom blocks 2015-07-10 14:45:42 -07:00
block.h Use malloc_usable_size() for accounting block cache size 2015-06-26 11:48:09 -07:00
block_based_filter_block.cc Build for CYGWIN 2015-04-23 21:33:44 -07:00
block_based_filter_block.h
block_based_filter_block_test.cc rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
block_based_table_builder.cc Add ZSTD (not final format) compression type 2015-08-28 11:01:13 -07:00
block_based_table_builder.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
block_based_table_factory.cc Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
block_based_table_factory.h Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
block_based_table_reader.cc RandomAccessFileReader should not inherit RandomAccessFile 2015-09-23 11:00:41 -07:00
block_based_table_reader.h Optimize bloom filter cache misses 2015-09-02 15:36:47 -07:00
block_builder.cc
block_builder.h
block_hash_index.cc Windows Port from Microsoft 2015-07-01 16:13:56 -07:00
block_hash_index.h
block_hash_index_test.cc rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
block_prefix_index.cc
block_prefix_index.h Windows Port from Microsoft 2015-07-01 16:13:56 -07:00
block_test.cc rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
bloom_block.cc
bloom_block.h
cuckoo_table_builder.cc Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
cuckoo_table_builder.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
cuckoo_table_builder_test.cc Block cuckoo table tests in ROCKSDB_LITE 2015-07-20 10:50:46 -07:00
cuckoo_table_factory.cc Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
cuckoo_table_factory.h Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
cuckoo_table_reader.cc Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
cuckoo_table_reader.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
cuckoo_table_reader_test.cc Skipped tests shouldn't be failures [part 2] 2015-09-15 22:59:53 -07:00
filter_block.h
flush_block_policy.cc
format.cc Add ZSTD (not final format) compression type 2015-08-28 11:01:13 -07:00
format.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
full_filter_block.cc
full_filter_block.h
full_filter_block_test.cc rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
get_context.cc Support for SingleDelete() 2015-09-17 11:42:56 -07:00
get_context.h Implement a table-level row cache 2015-06-23 10:25:45 -07:00
iter_heap.h Replace std::priority_queue in MergingIterator with custom heap, take 2 2015-07-15 03:34:40 -07:00
iterator.cc
iterator_wrapper.h
merger.cc Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
merger.h
merger_test.cc Fixed and simplified merge_helper 2015-07-17 09:27:24 -07:00
meta_blocks.cc Unified maps with Comparator for sorting, other cleanup 2015-09-02 13:58:22 -07:00
meta_blocks.h Unified maps with Comparator for sorting, other cleanup 2015-09-02 13:58:22 -07:00
mock_table.cc Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
mock_table.h Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
plain_table_builder.cc Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
plain_table_builder.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
plain_table_factory.cc Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
plain_table_factory.h PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
plain_table_index.cc "make format" against last 10 commits 2015-07-13 13:50:18 -07:00
plain_table_index.h
plain_table_key_coding.cc Fix the bug of using freed memory introduced by recent plain table reader patch 2015-09-23 16:16:26 -07:00
plain_table_key_coding.h PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
plain_table_reader.cc PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
plain_table_reader.h PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
sst_file_writer.cc Add experimental DB::AddFile() to plug sst files into empty DB 2015-09-23 12:42:43 -07:00
table_builder.h Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
table_properties.cc Expose per-level aggregated table properties via GetProperty() 2015-08-25 12:03:54 -07:00
table_properties_internal.h
table_reader.h Add functionality to pre-fetch blocks specified by a key range to BlockBasedTable implementation. 2015-03-02 17:07:03 -08:00
table_reader_bench.cc PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
table_test.cc PlainTableReader to support non-mmap mode 2015-09-23 11:41:07 -07:00
two_level_iterator.cc Allocate LevelFileIteratorState and LevelFileNumIterator from DB iterator's arena 2015-06-30 17:30:38 -07:00
two_level_iterator.h Allocate LevelFileIteratorState and LevelFileNumIterator from DB iterator's arena 2015-06-30 17:30:38 -07:00