You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Divij Vaidya (JIRA)" <ji...@apache.org> on 2019/03/08 23:21:00 UTC
[jira] [Created] (TINKERPOP-2176) Incorrect decision of host
unavailable in Java client
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)