diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/RocksDBStore.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/RocksDBStore.java index aa957fab46..c56998902d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/RocksDBStore.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/RocksDBStore.java @@ -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());