xinyiZzz commented on code in PR #29925:
URL: https://github.com/apache/doris/pull/29925#discussion_r1450285636


##########
be/src/runtime/memory/mem_tracker.h:
##########
@@ -180,6 +184,8 @@ class MemTracker {
 
     // Iterator into mem_tracker_pool for this object. Stored to have O(1) 
remove.
     std::list<MemTracker*>::iterator _tracker_group_it;
+
+    std::shared_ptr<QueryStatistics> _query_statistics = 
std::make_shared<QueryStatistics>();

Review Comment:
   MemTrackerLimiter::MemTrackerLimiter(Type type, const std::string& label, 
int64_t byte_limit) {
       } else if (_type = TYpe::QUERY || _type = TYpe::LOAD) {
           init _query_statistics
   }



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