[DOCS-5637] Comment on: "manual/reference/command/replSetGetConfig.txt" Created: 15/Jun/15  Updated: 24/Feb/16  Resolved: 16/Jun/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: mongodb-3.0

Type: Bug Priority: Minor - P4
Reporter: Steve Briskin (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/command/replSetGetConfig/#replSetGetConfig.settings.chainingAllowed
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
Referrer: http://docs.mongodb.org/manual/tutorial/manage-chained-replication/
Screen Resolution: 1920 x 1200
repo: docs
source: reference/command/replSetGetConfig


Participants:
Days since reply: 8 years, 35 weeks, 2 days ago

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



 Comments   
Comment by Githook User [ 16/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5637 update rs config output for 3.0
Branch: master
https://github.com/mongodb/docs/commit/ebf614432591d2b7612d6f0d7e340d103a34925f

Generated at Thu Feb 08 07:50:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.