[log](compaction) add more stats for compaction log (#24984)

This commit is contained in:
zhannngchen
2023-09-28 15:29:15 +08:00
committed by GitHub
parent a574f29d76
commit 2ec50dcfc7

View File

@ -518,6 +518,8 @@ Status Compaction::do_compaction_impl(int64_t permits) {
<< ", disk=" << _tablet->data_dir()->path() << ", segments=" << _input_num_segments
<< ", input_row_num=" << _input_row_num
<< ", output_row_num=" << _output_rowset->num_rows()
<< ", filtered_row_num=" << stats.filtered_rows
<< ", merged_row_num=" << stats.merged_rows
<< ". elapsed time=" << watch.get_elapse_second()
<< "s. cumulative_compaction_policy=" << cumu_policy->name()
<< ", compact_row_per_second=" << int(_input_row_num / watch.get_elapse_second());