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

Use address instead of hostname for connection

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.3.9, 3.4.4, 3.5.0
    • Component/s: driver
    • Labels:
      None

      Description

      The current implementation uses hostname to create connections. It causes two problems in a scenario where multiple addresses are bound to the same domain name.

      1. Load balancing is broken because multiple `Host` may connect to the same address, and some addresses may have no connection at all.
      2. It produces misleading log messages because the address in the host label may not be the one the host is actually connected to.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              thirstycrow Hua Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: