HDFS-12864. Ozone: Turn off full synced write in RocksDB MetadataStore. Contributed by Elek, Marton.
This commit is contained in:
parent
8023ba50b5
commit
e32e187448
@ -67,8 +67,6 @@ public RocksDBStore(File dbFile, Options options)
|
||||
dbOptions = options;
|
||||
dbLocation = dbFile;
|
||||
writeOptions = new WriteOptions();
|
||||
writeOptions.setSync(true);
|
||||
writeOptions.setNoSlowdown(true);
|
||||
try {
|
||||
|
||||
db = RocksDB.open(dbOptions, dbLocation.getAbsolutePath());
|
||||
|
Loading…
Reference in New Issue
Block a user