Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26420

Make internal clients identify themselves in the isMaster handshake

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc2
    • Sharding
    • None
    • Fully Compatible
    • Query 2016-10-31

    Description

      It will be helpful for a mongod to be able to distinguish connections from a mongos/mongod of a particular version from connections from applications. This identifying information could be helpful in order to ensure correctness when a cluster is running in a mixed-version configuration (i.e. during an upgrade or downgrade).

      When mongos or mongod initialize an outgoing connection, they should include an internalClient field in the isMaster command. This field has the following format:

      internalClient: {
          minWireVersion: <int>,
          maxWireVersion: <int>
      }
      

      In this way, the client communicates both that it is also a node in the cluster as well as the range of wire protocols which it supports.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: