-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.7.5
-
Component/s: Replication
-
None
-
ALL
Most members are up and rs.reconfig() command sent to primary, but still seems to require all members be up.
set2:PRIMARY> rs.status()
{
"set" : "set2",
"date" : ISODate("2011-02-05T07:48:59Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
"name" : "rs2a:27018",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 555,
"optime" :
,
"optimeDate" : ISODate("2011-02-05T07:48:57Z"),
"lastHeartbeat" : ISODate("2011-02-05T07:48:58Z")
},
{
"_id" : 1,
"name" : "rs2b:27018",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"optime" :
,
"optimeDate" : ISODate("2011-02-05T07:48:58Z"),
"self" : true
},
{
"_id" : 2,
"name" : "rs2arbiter:27018",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 171846,
"optime" :
,
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
"lastHeartbeat" : ISODate("2011-02-05T07:48:58Z")
},
{
"_id" : 3,
"name" : "rs2c:27018",
"health" : 0,
"state" : 6,
"stateStr" : "(not reachable/healthy)",
"uptime" : 0,
"optime" :
,
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
"lastHeartbeat" : ISODate("1970-01-01T00:00:00Z"),
"errmsg" : "socket exception"
},
{
"_id" : 4,
"name" : "rs2d:27018",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 499342,
"optime" :
,
"optimeDate" : ISODate("2011-02-05T05:48:56Z"),
"lastHeartbeat" : ISODate("2011-02-05T07:48:57Z")
}
],
"ok" : 1
}
set2:PRIMARY> rs.reconfig(cfg)
{
"assertion" : "need most members up to reconfigure, not ok : rs2c:27018",
"assertionCode" : 13144,
"errmsg" : "db assertion failure",
"ok" : 0
}