Yoruet commented on code in PR #42227: URL: https://github.com/apache/doris/pull/42227#discussion_r1809830119
########## be/src/cloud/cloud_full_compaction.cpp: ########## @@ -52,13 +52,26 @@ CloudFullCompaction::~CloudFullCompaction() = default; Status CloudFullCompaction::prepare_compact() { if (_tablet->tablet_state() != TABLET_RUNNING) { - return Status::InternalError("invalid tablet state. tablet_id={}", _tablet->tablet_id()); + Status res = Status::InternalError("invalid tablet state. tablet_id={}", _tablet->tablet_id()); Review Comment: done ########## be/src/cloud/cloud_base_compaction.cpp: ########## @@ -49,7 +49,10 @@ CloudBaseCompaction::~CloudBaseCompaction() = default; Status CloudBaseCompaction::prepare_compact() { if (_tablet->tablet_state() != TABLET_RUNNING) { - return Status::InternalError("invalid tablet state. tablet_id={}", _tablet->tablet_id()); + Status res = Status::InternalError("invalid tablet state. tablet_id={}", _tablet->tablet_id()); Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org