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
This commit is contained in:
Igor Canadi 2013-11-12 12:42:42 -08:00
parent 9bc4a26f56
commit 9df2b217e9
2 changed files with 0 additions and 9 deletions

View File

@ -480,10 +480,6 @@ DEFINE_string(merge_operator, "", "The merge operator to use with the database."
" database The possible merge operators are defined in" " database The possible merge operators are defined in"
" utilities/merge_operators.h"); " utilities/merge_operators.h");
DEFINE_bool(purge_log_after_memtable_flush,
rocksdb::Options().purge_log_after_memtable_flush,
"");
namespace rocksdb { namespace rocksdb {
// Helper for quickly generating random data. // Helper for quickly generating random data.
@ -1336,8 +1332,6 @@ class Benchmark {
); );
break; 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() > 0) {
if (FLAGS_max_bytes_for_level_multiplier_additional_v.size() != if (FLAGS_max_bytes_for_level_multiplier_additional_v.size() !=
(unsigned int)FLAGS_num_levels) { (unsigned int)FLAGS_num_levels) {

View File

@ -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. checks will be performed with ttl being first.
</ul> </ul>
You can completely disable WAL file purging by setting
<code>Options::purge_log_after_memtable_flush</code> to false.
<h1>Other Information</h1> <h1>Other Information</h1>
<p> <p>
Details about the <code>rocksdb</code> implementation may be found in Details about the <code>rocksdb</code> implementation may be found in