提交 c5548d3b 编写于 作者: W wangyi.ywq 提交者: 奏之章

[feature] fix log info #5

上级 3f6aa9c7
......@@ -931,8 +931,11 @@ void DBImpl::ScheduleGCTTL() {
auto should_marked_for_compacted = [&](uint64_t ratio_expire_time,
uint64_t scan_gap_expire_time,
uint64_t now) {
ROCKS_LOG_INFO(immutable_db_options_.info_log, "marked for compact SST: %d,%d,%d",
ratio_expire_time,scan_gap_expire_time,now);
ROCKS_LOG_INFO(immutable_db_options_.info_log,
"SST Table property info: % PRIu64 "
",% PRIu64 "
",% PRIu64 ",
ratio_expire_time, scan_gap_expire_time, now);
return (std::min(ratio_expire_time, scan_gap_expire_time) <= now);
};
ROCKS_LOG_INFO(immutable_db_options_.info_log, "Start ScheduleGCTTL");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册