Divij Vaidya created TINKERPOP-2176:
---------------------------------------

             Summary: Incorrect decision of host unavailable in Java client
                 Key: TINKERPOP-2176
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2176
             Project: TinkerPop
          Issue Type: Bug
          Components: driver
    Affects Versions: 3.3.5, 3.4.0
            Reporter: Divij Vaidya


If a request is not able to acquire a connection from the connection pool for a 
particular duration, it will fail with a Timeout Exception and also mark the 
host as unreachable [1] which is not necessarily true. A request might not be 
able to get a connection from the pool because the pool configuration has been 
set to a very low number or all the connections are genuinely busy serving 
existing requests. It does not imply host being unreachable.

[1][https://github.com/apache/tinkerpop/blob/9e4078983bb41a66f17cd33d599168a8ec78295b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/ConnectionPool.java#L375]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to