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


##########
cloud/src/meta-service/meta_service_tablet_stats.cpp:
##########
@@ -148,8 +149,10 @@ int get_detached_tablet_stats(const 
std::vector<std::pair<std::string, std::stri
     }
 
     if (unexpected_size) {
-        LOG_EVERY_N(WARNING, 100) << "unexpected tablet stats_kvs, it should 
be 1 or 2 or 5, size="
-                                  << stats_kvs.size() << " suffix=" << 
ss.str();
+        DCHECK(false);

Review Comment:
   DCHECK << "${some informative msg}" (maybe the same as the following log)



-- 
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

Reply via email to