diff --git a/db/db_bench.cc b/db/db_bench.cc
index ba8e27fa7..89ccd9711 100644
--- a/db/db_bench.cc
+++ b/db/db_bench.cc
@@ -480,10 +480,6 @@ DEFINE_string(merge_operator, "", "The merge operator to use with the database."
" database The possible merge operators are defined in"
" utilities/merge_operators.h");
-DEFINE_bool(purge_log_after_memtable_flush,
- rocksdb::Options().purge_log_after_memtable_flush,
- "");
-
namespace rocksdb {
// Helper for quickly generating random data.
@@ -1336,8 +1332,6 @@ class Benchmark {
);
break;
}
- options.purge_log_after_memtable_flush =
- FLAGS_purge_log_after_memtable_flush;
if (FLAGS_max_bytes_for_level_multiplier_additional_v.size() > 0) {
if (FLAGS_max_bytes_for_level_multiplier_additional_v.size() !=
(unsigned int)FLAGS_num_levels) {
diff --git a/doc/index.html b/doc/index.html
index 6f68a843f..e9a41922b 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -704,9 +704,6 @@ If both are not 0, WAL files will be checked every 10 min and both
checks will be performed with ttl being first.
-You can completely disable WAL file purging by setting
-Options::purge_log_after_memtable_flush
to false.
-
Details about the rocksdb
implementation may be found in