gianm opened a new pull request, #17403:
URL: https://github.com/apache/druid/pull/17403

   Following #17394, `workerExec` can get deadlocked with itself, because it 
waits for task futures and is also used as the `connectExec` for the task 
client. To fix this, we need to never await task futures in the `workerExec`.
   
   There are two specific changes: in `verifyAndMergeCheckpoints` and 
`checkpointTaskGroup`, two `coalesceAndAwait` calls that formerly occurred in 
`workerExec` are replaced with `Futures.transform` (using a callback in 
`workerExec` instead).
   
   Because this adjustment removes a source of blocking, it may also improve 
supervisor responsiveness for high task counts. This is not the primary goal, 
however. The primary goal is to fix the bug introduced by #17394.


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