rocksdb: Remove use of OptimizeForSmallDB in rocksdb plugin (#5797)

This fixes the crash in #5793.

The fix was attempted in a31d758 but it did not include the existing plugin implementation.
This commit is contained in:
Teddy Reed 2019-09-12 13:22:56 -04:00 committed by GitHub
parent 11d3ff476a
commit 516c0e4563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,6 @@ Status RocksDBDatabasePlugin::setUp() {
if (!initialized_) {
initialized_ = true;
options_.OptimizeForSmallDb();
// Set meta-data (mostly) handling options.
options_.create_if_missing = true;