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.

[ Full content available at: 
https://github.com/apache/incubator-druid/pull/6212 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to