gavinchou commented on code in PR #57368:
URL: https://github.com/apache/doris/pull/57368#discussion_r2631583365


##########
be/src/olap/tablet.cpp:
##########
@@ -2273,6 +2273,15 @@ Status Tablet::_follow_cooldowned_data() {
         LOG(INFO) << "cannot read cooldown meta: " << st;
         return Status::InternalError<false>("cannot read cooldown meta");
     }
+
+    if (cooldown_meta_pb.rs_metas_size() <= 0) {

Review Comment:
   The follow up `DCHECK` seems not useless when this check hit, remove it?
   BTW, it is better to figure out why the 
`DECHECK()`/`cooldown_meta_pb.rs_metas_size() == 0` happens.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to