This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 32fc8a17998 [chore](compaction) Do not print the stack trace when the compaction task already exists (#25597) 32fc8a17998 is described below commit 32fc8a17998dc9662920e0d5eb066f2aa5e68a57 Author: Xiaocc <598887...@qq.com> AuthorDate: Wed Oct 18 21:44:17 2023 +0800 [chore](compaction) Do not print the stack trace when the compaction task already exists (#25597) --- be/src/olap/olap_server.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/be/src/olap/olap_server.cpp b/be/src/olap/olap_server.cpp index 16c7ac2e5f3..072a6148ce8 100644 --- a/be/src/olap/olap_server.cpp +++ b/be/src/olap/olap_server.cpp @@ -731,15 +731,15 @@ Status StorageEngine::_submit_single_replica_compaction_task(TabletSharedPtr tab bool already_exist = _push_tablet_into_submitted_compaction(tablet, CompactionType::CUMULATIVE_COMPACTION); if (already_exist) { - return Status::AlreadyExist("compaction task has already been submitted, tablet_id={}", - tablet->tablet_id()); + return Status::AlreadyExist<false>( + "compaction task has already been submitted, tablet_id={}", tablet->tablet_id()); } already_exist = _push_tablet_into_submitted_compaction(tablet, CompactionType::BASE_COMPACTION); if (already_exist) { _pop_tablet_from_submitted_compaction(tablet, CompactionType::CUMULATIVE_COMPACTION); - return Status::AlreadyExist("compaction task has already been submitted, tablet_id={}", - tablet->tablet_id()); + return Status::AlreadyExist<false>( + "compaction task has already been submitted, tablet_id={}", tablet->tablet_id()); } Status st = tablet->prepare_single_replica_compaction(tablet, compaction_type); auto clean_single_replica_compaction = [tablet, this]() { @@ -937,7 +937,7 @@ Status StorageEngine::_submit_compaction_task(TabletSharedPtr tablet, } bool already_exist = _push_tablet_into_submitted_compaction(tablet, compaction_type); if (already_exist) { - return Status::AlreadyExist( + return Status::AlreadyExist<false>( "compaction task has already been submitted, tablet_id={}, compaction_type={}.", tablet->tablet_id(), compaction_type); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org