morrySnow commented on code in PR #26740:
URL: https://github.com/apache/doris/pull/26740#discussion_r1389124983
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -1559,6 +1559,10 @@ private void transferToNonMaster(FrontendNodeType
newType) {
MetricRepo.init();
+ if (analysisManager != null) {
+ analysisManager.getStatisticsCache().preHeat();
Review Comment:
transferToNonMaster is not only be called when fe start, but also when
master changed. Could we find an appropriate place, let all fe do preHeat just
when it start?
--
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]