rocksdb/table
Kosie van der Merwe 4dcc0c89f4 Fixed cache key for block cache
Summary:
Added function to `RandomAccessFile` to generate an unique ID for that file. Currently only `PosixRandomAccessFile` has this behaviour implemented and only on Linux.

Changed how key is generated in `Table::BlockReader`.

Added tests to check whether the unique ID is stable, unique and not a prefix of another unique ID. Added tests to see that `Table` uses the cache more efficiently.

Test Plan: make check

Reviewers: chip, vamsi, dhruba

Reviewed By: chip

CC: leveldb

Differential Revision: https://reviews.facebook.net/D8145
2013-01-31 15:20:24 -08:00
..
block.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
block_builder.cc A number of fixes: 2011-10-31 17:22:06 +00:00
block_builder.h A number of fixes: 2011-10-31 17:22:06 +00:00
block_test.cc Unit test to test block format. 2012-12-20 14:55:07 -08:00
filter_block.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
filter_block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
filter_block_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
format.cc Fixed wrong assumption in Table::Open() 2013-01-09 10:44:30 -08:00
format.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iter_heap.h Use a priority queue to merge files. 2013-01-02 13:52:25 -08:00
iterator.cc A number of fixes: 2011-10-31 17:22:06 +00:00
iterator_wrapper.h sync with upstream @21627589 2011-06-02 00:00:37 +00:00
merger.cc Remove unnecessary asserts in table/merger.cc 2013-01-09 09:52:45 -08:00
merger.h A number of fixes: 2011-10-31 17:22:06 +00:00
table.cc Fixed cache key for block cache 2013-01-31 15:20:24 -08:00
table_builder.cc Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
table_test.cc Fixed cache key for block cache 2013-01-31 15:20:24 -08:00
two_level_iterator.cc A number of fixes: 2011-10-31 17:22:06 +00:00
two_level_iterator.h A number of fixes: 2011-10-31 17:22:06 +00:00