-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.1.0
-
Component/s: Replication
-
None
-
Environment:db version v2.1.0-pre-, pdfile version 4.5
git version: a80c2d10d001e589cc293d76ecb464286d3064cb
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In jstests/replsets/rollback2.js, after statement B.runCommand(
{ replSetTest: 1, blind: false }), replica B (member _id 1) never recovers back to secondary state (stuck in Recovering state) because of error below (see members.1.errmsg)
> A.runCommand({replSetGetStatus:1})
{
"set" : "unicomplex",
"date" : ISODate("2011-12-06T14:53:54Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
"name" : "Tonys-MacBook-Air.local:31000",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 4355,
"optime" : Timestamp(1323182892000, 3),
"optimeDate" : ISODate("2011-12-06T14:48:12Z"),
"self" : true
},
{
"_id" : 1,
"name" : "Tonys-MacBook-Air.local:31001",
"health" : 1,
"state" : 3,
"stateStr" : "RECOVERING",
"uptime" : 322,
"optime" : Timestamp(1323179114000, 7),
"optimeDate" : ISODate("2011-12-06T13:45:14Z"),
"lastHeartbeat" : ISODate("2011-12-06T14:53:52Z"),
"pingMs" : 0,
"errmsg" : "syncTail: 15929 client access to index backing namespace prohibited, syncing: { ts: Timestamp 1323179114000|8, h: -6963406903435877324, op: \"c\", ns: \"foo.$cmd\", o: { create: \"kap\", capped: true, size: 5000.0, max: undefined } }"
},
{
"_id" : 2,
"name" : "Tonys-MacBook-Air.local:31002",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 390,
"lastHeartbeat" : ISODate("2011-12-06T14:53:52Z"),
"pingMs" : 0
}
],
"ok" : 1
}
- is related to
-
SERVER-4276 prevent user access to index namespaces
-
- Closed
-