Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1619

Provide informative handshake error message when Versioned API requested from downlevel server

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Stable API
    • Labels:
      None
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-3975 Blocked
      CXX-2241 Blocked
      CSHARP-3636 Blocked
      GODRIVER-1988 Blocked
      JAVA-4129 Blocked
      NODE-3250 Blocked
      MOTOR-722 Duplicate
      PYTHON-2685 Blocked
      PHPC-1824 Blocked
      RUBY-2594 Blocked
      RUST-769 Blocked
      SWIFT-1193 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-3975 Blocked CXX-2241 Blocked CSHARP-3636 Blocked GODRIVER-1988 Blocked JAVA-4129 Blocked NODE-3250 Blocked MOTOR-722 Duplicate PYTHON-2685 Blocked PHPC-1824 Blocked RUBY-2594 Blocked RUST-769 Blocked SWIFT-1193 Won't Do

      If Versioned API is requested by the client, the driver will use the hello command for both initial handshake and heartbeats becuase only hello is included in API version 1, not isMaster. Downlevel versions of MongoDB will respond with no such command: 'hello', which doesn't immediately indicate to users that they're requesting Versioned API from a server that doesn't support it.

      If a driver requests Versioned API and the initial handshake fails, we should provide a helpful error message that includes the text "Ensure that your server supports Versioned API."

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: