add block deviation option to terminate a block before it exceeds block_size

Summary: a new option block_size_deviation is added.

Test Plan: run db_test and db_bench

Reviewers: dhruba, haobo

Reviewed By: haobo

Differential Revision: https://reviews.facebook.net/D10821
This commit is contained in:
heyongqiang 2013-05-15 10:34:02 -07:00
parent 4b29651206
commit 4c47d8f345

View File

@ -192,15 +192,12 @@ Options::Dump(Logger* log) const
allow_mmap_writes); allow_mmap_writes);
Log(log," Options.is_fd_close_on_exec: %d", Log(log," Options.is_fd_close_on_exec: %d",
is_fd_close_on_exec); is_fd_close_on_exec);
<<<<<<< HEAD
Log(log," Options.skip_log_error_on_recovery: %d", Log(log," Options.skip_log_error_on_recovery: %d",
skip_log_error_on_recovery); skip_log_error_on_recovery);
Log(log," Options.stats_dump_period_sec: %d", Log(log," Options.stats_dump_period_sec: %d",
stats_dump_period_sec); stats_dump_period_sec);
=======
Log(log," Options.block_size_deviation: %d", Log(log," Options.block_size_deviation: %d",
block_size_deviation); block_size_deviation);
>>>>>>> add block deviation option to terminate a block before it exceeds block_size
} // Options::Dump } // Options::Dump
// //