yiguolei commented on code in PR #47070:
URL: https://github.com/apache/doris/pull/47070#discussion_r1920396993


##########
be/src/runtime/runtime_state.h:
##########
@@ -624,6 +626,10 @@ class RuntimeState {
     // _obj_pool. Because some of object in _obj_pool will use profile when 
deconstructing.
     RuntimeProfile _profile;
     RuntimeProfile _load_channel_profile;
+    // Why 2?
+    // During cluster upgrade, fe will not pass profile_level to be, so we 
need to set it to 2
+    // to make sure user can see all profile counters like before.
+    int _profile_level = 2;

Review Comment:
   fe 滚动升级的时候,新的fe 总是会传递profile level的,这是一个queyr 级别的参数,感觉不存在你说的问题



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