Merge branch 'keydbpro' into PRO_RELEASE_6
Former-commit-id: 50127eec445cb8d7abceb683f2afbd7aad90a3ae
This commit is contained in:
commit
da8eaa5bf1
@ -109,7 +109,6 @@ RocksDBStorageProvider::~RocksDBStorageProvider()
|
||||
rocksdb::WriteOptions RocksDBStorageProvider::WriteOptions() const
|
||||
{
|
||||
auto opt = rocksdb::WriteOptions();
|
||||
opt.disableWAL = true;
|
||||
return opt;
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user