yashrb24 opened a new issue, #24994:
URL: https://github.com/apache/datafusion/issues/24994

   ### Describe the bug
   
   `TrackConsumersPool` uses one exclusive lock around its consumer map. Every 
`grow`, `shrink`, and `try_grow` call takes this lock, even though these 
operations only look up a consumer. This means memory updates from different 
tasks/partitions must wait for each other.
   
   The values stored for each consumer are already safe to update from multiple 
threads. We should allow these lookups to happen at the same time while keeping 
registration and reporting exclusive.
   
   ### To Reproduce
   
   N/A
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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