[ 
https://issues.apache.org/jira/browse/TINKERPOP-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012100#comment-17012100
 ] 

Stephen Mallette commented on TINKERPOP-2176:
---------------------------------------------

Consider TINKERPOP-2255 when implementing this one.

> 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.4.0, 3.3.5
>            Reporter: Divij Vaidya
>            Priority: Major
>
> 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
(v8.3.4#803005)

Reply via email to