[SERVER-7817] replica set config field "settings" isn't returned from rs.conf() Created: 02/Dec/12  Updated: 11/Jul/16  Resolved: 05/Dec/12

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.2.4, 2.3.2

Type: Bug Priority: Critical - P2
Reporter: Eliot Horowitz (Inactive) Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-941 Document chainingAllowed option for r... Closed
Operating System: ALL
Participants:

 Description   

foo:PRIMARY> rs.conf()
{
	"_id" : "foo",
	"version" : 2,
	"members" : [
		{
			"_id" : 0,
			"host" : "erh-mb5-2.local:27017"
		}
	]
}
foo:PRIMARY> x = rs.conf()
{
	"_id" : "foo",
	"version" : 2,
	"members" : [
		{
			"_id" : 0,
			"host" : "erh-mb5-2.local:27017"
		}
	]
}
foo:PRIMARY> x.settings = { chainingAllowed : false }
{ "chainingAllowed" : false }
foo:PRIMARY> x
{
	"_id" : "foo",
	"version" : 2,
	"members" : [
		{
			"_id" : 0,
			"host" : "erh-mb5-2.local:27017"
		}
	],
	"settings" : {
		"chainingAllowed" : false
	}
}
foo:PRIMARY> rs.reconfig(x)
{ "ok" : 1 }
foo:PRIMARY> rs.conf()
{
	"_id" : "foo",
	"version" : 3,
	"members" : [
		{
			"_id" : 0,
			"host" : "erh-mb5-2.local:27017"
		}
	]
}
foo:PRIMARY> 



 Comments   
Comment by auto [ 22/Mar/13 ]

Author:

{u'date': u'2013-03-22T17:38:15Z', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-7817 - fix no_chaining.js to forceSync from correct host
Branch: v2.2
https://github.com/mongodb/mongo/commit/15291f335c820719d432189fe1dd871193588ca7

Comment by auto [ 21/Mar/13 ]

Author:

{u'date': u'2013-03-21T18:46:04Z', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-7817 Display chainingAllowed option when set to false
Branch: v2.2
https://github.com/mongodb/mongo/commit/2802b46fde6d3c20f738df0a233ebd0f0f5f8083

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-04T20:15:15Z', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: SERVER-7817 Display chainingAllowed option when set to false
Branch: master
https://github.com/mongodb/mongo/commit/c2afb4fa22cd6052f843ca4469e53027a36020cd

Generated at Thu Feb 08 03:15:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.