Adding wal_recovery_mode log message

Summary:
wal_recovery_mode setting was not written to LOG. This diff
adds the log message

Test Plan: manually checked

Reviewers: kradhakrishnan, sdong, igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D43953
This commit is contained in:
Yoshinori Matsunobu 2015-08-10 09:21:04 -07:00
parent 68f934355a
commit 2cf0f4f471

View File

@ -369,6 +369,8 @@ void DBOptions::Dump(Logger* log) const {
bytes_per_sync); bytes_per_sync);
Warn(log, " Options.wal_bytes_per_sync: %" PRIu64, Warn(log, " Options.wal_bytes_per_sync: %" PRIu64,
wal_bytes_per_sync); wal_bytes_per_sync);
Warn(log, " Options.wal_recovery_mode: %d",
wal_recovery_mode);
Warn(log, " Options.enable_thread_tracking: %d", Warn(log, " Options.enable_thread_tracking: %d",
enable_thread_tracking); enable_thread_tracking);
if (row_cache) { if (row_cache) {