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

bump minimum outgoing wire protocol version in mongos for 3.6

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: 3.5.12
    • Component/s: Internal Client
    • Labels:
      None
    • Fully Compatible
    • Platforms 2017-09-11, Repl 2017-10-02

      spec.outgoing.minWireVersion should be bumped from COMMANDS_ACCEPT_WRITE_CONCERN to LATEST_WIRE_VERSION

      https://github.com/mongodb/mongo/blob/r3.5.12/src/mongo/s/server.cpp#L295-L296

      static void _initWireSpec() {
          WireSpec& spec = WireSpec::instance();
          // connect to version supporting Write Concern only
          spec.outgoing.minWireVersion = COMMANDS_ACCEPT_WRITE_CONCERN;
          spec.outgoing.maxWireVersion = LATEST_WIRE_VERSION;
      
          spec.isInternalClient = true;
      }
      

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: