rocksdb/table
Chip Turner 0b83a83191 Fix poor error on num_levels mismatch and few other minor improvements
Summary:
Previously, if you opened a db with num_levels set lower than
the database, you received the unhelpful message "Corruption:
VersionEdit: new-file entry."  Now you get a more verbose message
describing the issue.

Also, fix handling of compression_levels (both the run-over-the-end
issue and the memory management of it).

Lastly, unique_ptr'ify a couple of minor calls.

Test Plan: make check

Reviewers: dhruba

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D8151
2013-01-25 15:37:26 -08: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
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
filter_block_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -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
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_wrapper.h sync with upstream @21627589 2011-06-02 00:00:37 +00:00
iterator.cc A number of fixes: 2011-10-31 17:22:06 +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_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 Fix a number of object lifetime/ownership issues 2013-01-23 16:54:11 -08:00
table.cc Fix a number of object lifetime/ownership issues 2013-01-23 16:54:11 -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