vagetablechicken commented on pull request #4135:
URL: https://github.com/apache/incubator-doris/pull/4135#issuecomment-662791622


   > The lifecycle of MemTracker for a query is clear。Now RunningProfile don't 
use shared ptr, also can show running statistics of query. So it 's really 
necessary to shared_ptr to manage lifecycles?Can it be a tree structure like 
the runningprofile?
   
   It's not for the lifecycle of MemTracker. How do you know the exact mem 
consumption of one query? What if the MemTracker node destoryed, when we are 
traversing the tree?


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

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