From 72e4731390ff6207b3423de75cc3aefa6a7db45f Mon Sep 17 00:00:00 2001 From: Jung-Sang Ahn Date: Thu, 31 Oct 2024 00:25:20 -0700 Subject: [PATCH] Print auto log flush setting during log mgr init --- src/log_mgr.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/log_mgr.cc b/src/log_mgr.cc index a202102..0477339 100644 --- a/src/log_mgr.cc +++ b/src/log_mgr.cc @@ -206,12 +206,14 @@ void LogMgr::logMgrSettings() { "initialized log manager, memtable flush buffer %zu, " "direct-IO %s, custom hash length function %s, " "sync multi-threaded log flush %s, " - "skip manifest sync %s", + "skip manifest sync %s, " + "auto log flush %s", g_conf->memTableFlushBufferSize, get_on_off_str(opt.dbConfig->directIoOpt.enabled), get_on_off_str((bool)opt.dbConfig->customLenForHash), get_on_off_str(opt.dbConfig->serializeMultiThreadedLogFlush), - get_on_off_str(opt.dbConfig->skipManifestSync) ); + get_on_off_str(opt.dbConfig->skipManifestSync), + get_on_off_str(opt.dbConfig->autoLogFlush) ); } Status LogMgr::rollback(uint64_t seq_upto) {