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

Erroneous Warning in Shell regarding replicaset protocol version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 3.6.2
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None

      Description

      Getting this warning:

      2018-01-11T11:11:50.510-0600 I REPL     [replexec-0] ** WARNING: This replica set was configured with protocol version 0.
      2018-01-11T11:11:50.511-0600 I REPL     [replexec-0] **          This protocol version is deprecated and subject to be removed
      2018-01-11T11:11:50.512-0600 I REPL     [replexec-0] **          in a future version.
      

      With this rs.config():

      {
              "_id" : "domainDEV001",
              "version" : 13,
              "protocolVersion" : NumberLong(1),
              "members" : [
                      {
                              "_id" : 0,
                              "host" : "dev-mongo001.dbx.domain.us:27017",
                              "arbiterOnly" : false,
                              "buildIndexes" : true,
                              "hidden" : false,
                              "priority" : 3,
                              "tags" : {
                                      "dc" : "ev"
                              },
                              "slaveDelay" : NumberLong(0),
                              "votes" : 1
                      },
                      {
                              "_id" : 1,
                              "host" : "dev-mongo002.dbx.domain.us:27017",
                              "arbiterOnly" : false,
                              "buildIndexes" : true,
                              "hidden" : false,
                              "priority" : 4,
                              "tags" : {
                                      "dc" : "ev"
                              },
                              "slaveDelay" : NumberLong(0),
                              "votes" : 1
                      },
                      {
                              "_id" : 2,
                              "host" : "dev-mongo003.dbx.domain.us:27017",
                              "arbiterOnly" : false,
                              "buildIndexes" : true,
                              "hidden" : false,
                              "priority" : 1,
                              "tags" : {
                                      "dc" : "ev"
                              },
                              "slaveDelay" : NumberLong(0),
                              "votes" : 1
                      }
              ],
              "settings" : {
                      "chainingAllowed" : true,
                      "heartbeatIntervalMillis" : 2000,
                      "heartbeatTimeoutSecs" : 10,
                      "electionTimeoutMillis" : 10000,
                      "catchUpTimeoutMillis" : 60000,
                      "catchUpTakeoverDelayMillis" : 30000,
                      "getLastErrorModes" : {
       
                      },
                      "getLastErrorDefaults" : {
                              "w" : 1,
                              "wtimeout" : 0
                      }
              }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              sallgeud Chad Kreimendahl
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: