luwei16 commented on code in PR #42227: URL: https://github.com/apache/doris/pull/42227#discussion_r1821078539
########## be/src/cloud/cloud_base_compaction.cpp: ########## @@ -48,8 +48,16 @@ CloudBaseCompaction::CloudBaseCompaction(CloudStorageEngine& engine, CloudTablet CloudBaseCompaction::~CloudBaseCompaction() = default; Status CloudBaseCompaction::prepare_compact() { + Status st; + Defer defer_set_st([&] { + cloud_tablet()->set_last_base_compaction_status(st.to_string()); Review Comment: If the status code is OK, the compaction will continue to execute. Do I need to set the status code at this time? -- 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