This is an automated email from the ASF dual-hosted git repository. yiguolei 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 d86277c2c22 [optimize](cooldown)Improved filtering conditions for cooldown tablet (#27338) d86277c2c22 is described below commit d86277c2c2246e00abe866865a21835d90959c58 Author: xy <whuxingy...@163.com> AuthorDate: Fri Jan 5 15:03:54 2024 +0800 [optimize](cooldown)Improved filtering conditions for cooldown tablet (#27338) Co-authored-by: xingying01 <xingyin...@corp.netease.com> --- be/src/olap/tablet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp index 922bec70278..d6d4888fd64 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -2494,7 +2494,7 @@ Status Tablet::remove_all_remote_rowsets() { void Tablet::remove_unused_remote_files() { auto tablets = StorageEngine::instance()->tablet_manager()->get_all_tablet([](Tablet* t) { return t->tablet_meta()->cooldown_meta_id().initialized() && t->is_used() && - t->tablet_state() == TABLET_RUNNING; + t->tablet_state() == TABLET_RUNNING && t->_cooldown_replica_id == t->replica_id(); }); TConfirmUnusedRemoteFilesRequest req; req.__isset.confirm_list = true; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org