rocksdb/utilities
Igor Canadi 760e9a94de Fail DB::Open() when the requested compression is not available
Summary:
Currently RocksDB silently ignores this issue and doesn't compress the data. Based on discussion, we agree that this is pretty bad because it can cause confusion for our users.

This patch fails DB::Open() if we don't support the compression that is specified in the options.

Test Plan: make check with LZ4 not present. If Snappy is not present all tests will just fail because Snappy is our default library. We should make Snappy the requirement, since without it our default DB::Open() fails.

Reviewers: sdong, MarkCallaghan, rven, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D39687
2015-06-18 14:55:05 -07:00
..
backupable Make "make all" work for CYGWIN 2015-06-09 16:36:07 -07:00
checkpoint rocksdb: Add missing override 2015-02-26 11:28:41 -08:00
compacted_db Use CompactRangeOptions for CompactRange 2015-06-17 14:36:14 -07:00
convenience fix crashes in stats and compaction filter for db_ttl_impl 2015-05-05 16:54:47 -07:00
document rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
flashcache Fix the compilation error in flashcache.cc on Mac 2015-04-07 15:27:23 -07:00
geodb Build for CYGWIN 2015-04-23 21:33:44 -07:00
leveldb_options Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
merge_operators Use CompactRangeOptions for CompactRange 2015-06-17 14:36:14 -07:00
redis rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
spatialdb Fail DB::Open() when the requested compression is not available 2015-06-18 14:55:05 -07:00
transactions better document max_write_buffer_number_to_maintain 2015-06-02 21:24:19 -07:00
ttl Use CompactRangeOptions for CompactRange 2015-06-17 14:36:14 -07:00
write_batch_with_index Re-generate WriteEntry on WBWIIterator::Entry() 2015-06-10 12:57:38 -07:00
merge_operators.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00