-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.6.3
-
Component/s: Admin, Replication
-
None
-
Environment:any
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When using the rs.conf() helper, it should always display the number of votes, even if it is the default of 1 and even if it's a an arbiter or priority 0. It currently does not display votes if they are set to 1.
It'd be great to see something like this:
{
"_id" : "replicaset",
"version" : 5,
"members" : [
{
"_id" : 0,
"host" : "ra:27017",
"votes" : 1
},
{
"_id" : 1,
"host" : "rb:27017",
"votes" : 1
},
{
"_id" : 2,
"host" : "rc:27017",
"votes" : 1
},
{
"_id" : 3,
"host" : "arbiter:29001",
"arbiterOnly" : true,
"votes": 1
},
{
"_id" : 4,
"host" : "rd:27017",
"priority" : 0,
"slaveDelay" : 28800,
"votes": 1
}
]
}
- duplicates
-
SERVER-11911 update rs.conf() to always display all documented fields
-
- Closed
-