leventov opened a new issue #8445: In DirectDruidClient, Future cancellation 
listener shouldn't run in HTTP library thread
URL: https://github.com/apache/incubator-druid/issues/8445
 
 
   This `Futures.addCallback()` call:
   
   
https://github.com/apache/incubator-druid/blob/984958122b962ab019a590f4fd01792de81b75df/server/src/main/java/org/apache/druid/client/DirectDruidClient.java#L453-L500
   
   Uses `MoreExecutors.sameThreadExecutor()` by default, which leads to 
canceling query (with waiting for one second) in the HTTP client thread (in 
`org.apache.druid.java.util.http.client.HttpClient`). This is undesirable 
because `HttpClient` is an asynchronous client.

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