This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.1-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push: new 4a974417f6 [fix](compaction) don't log cumu policy name for quick compaction (#13101) 4a974417f6 is described below commit 4a974417f61565f65fbe1f12c8466af1f5b63f13 Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com> AuthorDate: Sat Oct 1 21:40:42 2022 +0800 [fix](compaction) don't log cumu policy name for quick compaction (#13101) --- be/src/olap/compaction.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/olap/compaction.cpp b/be/src/olap/compaction.cpp index ed09b15e83..f1240a3648 100644 --- a/be/src/olap/compaction.cpp +++ b/be/src/olap/compaction.cpp @@ -204,12 +204,13 @@ OLAPStatus Compaction::do_compaction_impl(int64_t permits) { } } + auto cumu_policy = _tablet->cumulative_compaction_policy(); LOG(INFO) << "succeed to do " << compaction_name() << ". tablet=" << _tablet->full_name() << ", output_version=" << _output_version << ", current_max_version=" << current_max_version << ", disk=" << _tablet->data_dir()->path() << ", segments=" << segments_num << ". elapsed time=" << watch.get_elapse_second() << "s. cumulative_compaction_policy=" - << _tablet->cumulative_compaction_policy()->name() << "."; + << (cumu_policy == nullptr ? "quick" : cumu_policy->name()); return OLAP_SUCCESS; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org