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

bump minimum outgoing wire protocol version in mongos for 3.6

    XMLWordPrintable

    Details

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

      Description

      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;
      }
      

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: