diff --git a/src/storage/rocksdb.cpp b/src/storage/rocksdb.cpp index d7598b76c..386ae7397 100644 --- a/src/storage/rocksdb.cpp +++ b/src/storage/rocksdb.cpp @@ -109,7 +109,6 @@ RocksDBStorageProvider::~RocksDBStorageProvider() rocksdb::WriteOptions RocksDBStorageProvider::WriteOptions() const { auto opt = rocksdb::WriteOptions(); - opt.disableWAL = true; return opt; } diff --git a/src/storage/rocksdbfactory.cpp b/src/storage/rocksdbfactory.cpp index 9d4a52afc..8c5cacef2 100644 --- a/src/storage/rocksdbfactory.cpp +++ b/src/storage/rocksdbfactory.cpp @@ -49,7 +49,6 @@ RocksDBStorageFactory::RocksDBStorageFactory(const char *dbfile, int dbnum) table_options.cache_index_and_filter_blocks = true; table_options.pin_l0_filter_and_index_blocks_in_cache = true; options.table_factory.reset(NewBlockBasedTableFactory(table_options)); - table_options.filter_policy.reset(rocksdb::NewBloomFilterPolicy(10, false)); options.table_factory.reset( rocksdb::NewBlockBasedTableFactory(table_options));