himanshug opened a new pull request #6212: fix TaskQueue-HRTR deadlock
URL: https://github.com/apache/incubator-druid/pull/6212
 
 
   Fixes #6201 
   
   FWIW: RTR has same bug 
https://github.com/apache/incubator-druid/blob/master/indexing-service/src/main/java/io/druid/indexing/overlord/RemoteTaskRunner.java#L908
 but rarity of that happening causes getting into the deadlock very unlikely.
   
   from the design perspective, to guarantee safety, I think it would 
eventually make more sense to make sure that all kinds of listeners are always 
executed in something other than `SameThreadExecutor`  or that listeners are 
never called with internal locks being held as you don't know what listeners 
might end up doing.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to