[SERVER-2483] "need most members up to reconfigure" but most members are up Created: 05/Feb/11  Updated: 12/Jul/16  Resolved: 08/Feb/11

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 1.7.5
Fix Version/s: 1.7.6

Type: Bug Priority: Major - P3
Reporter: David Mytton Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

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" :

{ "t" : 1296892137000, "i" : 2 }

,
"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" :

{ "t" : 1296892138000, "i" : 1 }

,
"optimeDate" : ISODate("2011-02-05T07:48:58Z"),
"self" : true
},
{
"_id" : 2,
"name" : "rs2arbiter:27018",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 171846,
"optime" :

{ "t" : 0, "i" : 0 }

,
"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" :

{ "t" : 0, "i" : 0 }

,
"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" :

{ "t" : 1296884936000, "i" : 2 }

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



 Comments   
Comment by auto [ 08/Feb/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: skip heartbeat check on self SERVER-2483
https://github.com/mongodb/mongo/commit/6d04d3a7c8972102fd210634837a21da04d8a81b

Comment by Kristina Chodorow (Inactive) [ 08/Feb/11 ]

If you try it a second time, does it succeed?

If not, can you send the logs from around the reconfig?

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