yiguolei opened a new pull request, #33400:
URL: https://github.com/apache/doris/pull/33400

   ## Proposed changes
   
   get_query_ctx(hold query ctx map lock) ---> QueryCtx ---> runtime statistics 
mgr --->
   
   runtime statistics mgr ---> allocate block memory ---> cancel query
   
   1. memtracker will try to cancel query when memory is not available during 
allocator.
   2. BUT the allocator is a foundermental API, if it call the upper API it may 
deadlock.
   
   Should not call any API during allocator.
   
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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