From 40628c4c962337a2ae02347e68c6296049b037e2 Mon Sep 17 00:00:00 2001 From: ByteYue Date: Tue, 12 Mar 2024 00:14:53 +0800 Subject: [PATCH] skip --- be/src/olap/tablet.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp index d1bb734d9033ae..a4ed447009439f 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -214,6 +214,10 @@ void WriteCooldownMetaExecutors::WriteCooldownMetaExecutors::submit(TabletShared VLOG_NOTICE << "tablet " << tablet_id << " is not cooldown replica"; return; } + if (tablet->tablet_state() == TABLET_SHUTDOWN) [[unlikely]] { + LOG_INFO("tablet {} has been dropped, don't do cooldown", tablet_id); + return; + } } { // one tablet could at most have one cooldown task to be done