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

Allow isMaster to report the wire version (range) it expects

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.2
    • Affects Version/s: None
    • Component/s: Admin
    • None

      The version of the wire determines if two agents of the system (driver, servers, and mongos) can interact. For each agent, there is a version that they are at (max) and there is a minimum version that they are compatible with. If two agents have on overlap of a version, they can talk. In practice, this may prevent a too old server to join a cluster or a too old application to talk to a server.

      Each agent has a fixed range that never changes.

      For a mongod and a mongos, the version will be reported on the 'isMaster' command:

      'isMaster.maxWireVersion' reports the version the mongod/s are at
      'isMaster.minWireVersion' reports the oldest version that the mongod/s can understand

      For now, versions are only going to be reported on 'isMaster'.

            Assignee:
            alerner Alberto Lerner
            Reporter:
            alerner Alberto Lerner
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: