Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.4
-
None
-
None
Description
TINKERPOP-2813 stopped fast NoHostAvaialbleException errors but the change made it more evident that submitAsync() was never as async as it should have been. Since ConnectionPool.borrowConnection() was synchronous you could still have a block, but it was then quickly hidden for future requests by the fast NHA that would follow a TimeoutException from that wait. It seems like borrowing a connection would have to be async if we wanted submitAsync() to be truly behave as its name implies.