Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
*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
*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
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
|
}
|
}
|
}
|
|