rocksdb/utilities
Venkatesh Radhakrishnan d0695f3e26 Fix crash caused by opening an empty DB in readonly mode
Summary:
This diff fixes a crash found when an empty database is opened in readonly mode.
We now check the number of levels before we open the DB as a compacted DB.

Test Plan: DBTest.EmptyCompactedDB

Reviewers: igor, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D36327
2015-04-01 16:55:08 -07:00
..
backupable rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
checkpoint rocksdb: Add missing override 2015-02-26 11:28:41 -08:00
compacted_db Fix crash caused by opening an empty DB in readonly mode 2015-04-01 16:55:08 -07:00
convenience Remove unused parameter in CancelAllBackgroundWork 2015-03-16 21:07:54 -07:00
document rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
flashcache Fix clang build 2015-03-30 10:03:23 -07:00
geodb rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
leveldb_options Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
merge_operators rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
redis rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
spatialdb rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
ttl rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
write_batch_with_index Create an abstract interface for write batches 2015-03-17 19:23:08 -07:00
merge_operators.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00