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

Determine what to do if specific host is unavailable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.2.2
    • None
    • driver
    • None

    Description

      When the user submits a request with the "host" parameter it tells the driver to route the request to the value specified in that host. This feature is typically used internally by a remote traversal where the user wants to retrieve a side-effect (as the side-effect lives on the host the traversal was original executed on). Of course, if the host is unavailable for some reason when the user tries to retrieve their side-effect, the driver will result with an error.

      Need to consider how to best handle this - perhaps the traversal could be re-submitted to a different host and iterated behind the scenes and thus allow the user to get their side-effect without knowing anything went bad?

      See Client.chooseConnection() implementation for where this logic currently lives.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: