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

Erroneous Warning in Shell regarding replicaset protocol version

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

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

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

              Created:
              Updated:
              Resolved: