Stephen Mallette created TINKERPOP-2839:
-------------------------------------------
Summary: Make borrowing a connection from a pool async
Key: TINKERPOP-2839
URL: https://issues.apache.org/jira/browse/TINKERPOP-2839
Project: TinkerPop
Issue Type: Improvement
Components: driver
Affects Versions: 3.5.4
Reporter: Stephen Mallette
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)