HDFS-12864. Ozone: Turn off full synced write in RocksDB MetadataStore. Contributed by Elek, Marton.

This commit is contained in:
Anu Engineer 2017-11-28 11:04:38 -08:00 committed by Owen O'Malley
parent 8023ba50b5
commit e32e187448
1 changed files with 0 additions and 2 deletions

View File

@ -67,8 +67,6 @@ public class RocksDBStore implements MetadataStore {
dbOptions = options; dbOptions = options;
dbLocation = dbFile; dbLocation = dbFile;
writeOptions = new WriteOptions(); writeOptions = new WriteOptions();
writeOptions.setSync(true);
writeOptions.setNoSlowdown(true);
try { try {
db = RocksDB.open(dbOptions, dbLocation.getAbsolutePath()); db = RocksDB.open(dbOptions, dbLocation.getAbsolutePath());