dataroaring commented on code in PR #59327:
URL: https://github.com/apache/doris/pull/59327#discussion_r2649278775


##########
fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java:
##########
@@ -1533,7 +1534,7 @@ private static boolean addReplica(long tabletId, 
TabletMeta tabletMeta, TTabletI
                 if (backendTabletInfo.isSetCooldownMetaId()) {
                     // replica has cooldowned data
                     do {
-                        Pair<Long, Long> cooldownConf = 
tablet.getCooldownConf();
+                        Pair<Long, Long> cooldownConf = ((LocalTablet) 
tablet).getCooldownConf();

Review Comment:
   If we add a method getCooldownConf in Tablet and implement it in both 
LocalTablet and CloudTablet, is there extra memory footprint overhead for each 
tablet object?



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