rocksdb/include/leveldb
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
..
c.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
cache.h Fix a number of object lifetime/ownership issues 2013-01-23 16:54:11 -08:00
comparator.h A number of fixes: 2011-10-31 17:22:06 +00:00
db.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
env.h Use fallocate to prevent excessive allocation of sst files and logs 2013-01-24 12:25:13 -08:00
filter_policy.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iterator.h A number of fixes: 2011-10-31 17:22:06 +00:00
options.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
slice.h manifest_dump: Add --hex=1 option 2012-12-16 08:58:28 -08:00
statistics.h Add counters to count gets and writes 2013-01-17 12:27:56 -08:00
status.h Added an API in rocksdb for checking for "invalid argument" and "not supported" for leveldb::Status 2013-01-16 14:30:45 -08:00
table_builder.h Fix all the lint errors. 2012-11-28 17:18:41 -08:00
table.h Fix a number of object lifetime/ownership issues 2013-01-23 16:54:11 -08:00
transaction_log_iterator.h GetSequence API in write batch. 2012-12-12 22:21:10 -08:00
types.h GetUpdatesSince API to enable replication. 2012-12-07 11:42:13 -08:00
write_batch.h Enhancements to rocksdb for better support for replication. 2012-12-17 11:40:19 -08:00