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

Missing expected field "protocolVersion", but that field has a default value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.6, 4.4.0-rc0, 4.7.0
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2020-03-09, Repl 2020-03-23

    Description

      Command

       

      rs.reconfig(
        {
          _id : "rs",
          members: [
            { _id : 0, host : "..." },
            { _id : 1, host : "..." },
          ]
        }
      )
      
      

       

      Error:

       

      "errmsg" : "Missing expected field \"protocolVersion\""
      "code" : 93
      "codeName" : "InvalidReplicaSetConfig",

       

      However, https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.protocolVersion documents a default value of 1 for this field.

      Attachments

        Activity

          People

            samy.lanka@mongodb.com Samyukta Lanka
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: