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

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

    XMLWordPrintable

Details

    • Epic
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • Stable API
    • None
    • Needed

    Description

      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."

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: