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

Make internal clients identify themselves in the isMaster handshake

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0-rc2
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

            Assignee:
            david.storch David Storch
            Reporter:
            david.storch David Storch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: