From 9df2b217e989e72752eed701d70c6e78cc026c87 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Tue, 12 Nov 2013 12:42:42 -0800 Subject: [PATCH] Move fast and break things Summary: Broke the compile when I removed purge_log_after_memtable_flush. sorrybus Test Plan: make db_bench works now Reviewers: haobo Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D14037 --- db/db_bench.cc | 6 ------ doc/index.html | 3 --- 2 files changed, 9 deletions(-) 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. -

Other Information

Details about the rocksdb implementation may be found in