Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5637

Comment on: "manual/reference/command/replSetGetConfig.txt"

    XMLWordPrintableJSON

Details

    Description

      "When you run rs.conf() to view a replica set’s configuration, the chainingAllowed field appears only when set to false. If not set, chainingAllowed is true."

      In 3.0.1, chainingAllowed in the rs.conf() result even when the value is true.

      sblockstore1_1:PRIMARY> c
      {
      	"_id" : "sblockstore1_1",
      	"version" : 4,
      	"members" : [
      		{
      			"_id" : 0,
      			"host" : "...",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : true,
      			"priority" : 0,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 0
      		},
      		{
      			"_id" : 1,
      			"host" : "...",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 0,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 2,
      			"host" : "...",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 10,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		},
      		{
      			"_id" : 3,
      			"host" : "...",
      			"arbiterOnly" : false,
      			"buildIndexes" : true,
      			"hidden" : false,
      			"priority" : 0,
      			"tags" : {
      				
      			},
      			"slaveDelay" : 0,
      			"votes" : 1
      		}
      	],
      	"settings" : {
      		"chainingAllowed" : true,
      		"heartbeatTimeoutSecs" : 10,
      		"getLastErrorModes" : {
      			
      		},
      		"getLastErrorDefaults" : {
      			"w" : 1,
      			"wtimeout" : 0
      		}
      	}
      }
      
      

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            steve.briskin Steve Briskin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 35 weeks, 2 days ago