Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2176

Incorrect decision of host unavailable in Java client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0, 3.3.5
    • Fix Version/s: None
    • Component/s: driver
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                divijvaidya Divij Vaidya
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: