-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Environment:Linux RHEL 32-bit Build #1668
repro'd on Linux 64-bit DEBUG
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
http://buildbot.mongodb.org/builders/Linux%20RHEL%2032-bit/builds/1668/steps/test_9/logs/stdio
http://buildlogs.mongodb.org/Linux%20RHEL%2032-bit/builds/1668/test/replica%20sets/maintenance.js
m31001| Thu Jul 11 14:56:31.937 [conn1] replSet going into maintenance mode (0 other tasks)
m31001| Thu Jul 11 14:56:31.937 [conn1] replSet RECOVERING
make sure secondary goes into recovering
{
"setName" : "unicomplex",
"setVersion" : 1,
"ismaster" : false,
"secondary" : false,
"hosts" : [
"bs-rhel-57-32-1:31001",
"bs-rhel-57-32-1:31000"
],
"primary" : "bs-rhel-57-32-1:31000",
"me" : "bs-rhel-57-32-1:31001",
"maxBsonObjectSize" : 16777216,
"maxMessageSizeBytes" : 48000000,
"localTime" : ISODate("2013-07-11T18:56:31.937Z"),
"ok" : 1
}
now getmore shouldn't work
m31001| Thu Jul 11 14:56:31.939 [conn1] getmore bar.foo cursorid:71186283950158 ntoreturn:0 keyUpdates:0 exception: not master or secondary; cannot currently read from this replSet member code:13436 locks(micros) r:99 nreturned:1 reslen:117 0ms
Thu Jul 11 14:56:31.960 error: {
"$err" : "not master or secondary; cannot currently read from this replSet member",
"code" : 13436
} at src/mongo/shell/query.js:131
failed to load: /data/buildslaves/Linux_RHEL_32bit/mongo/jstests/replsets/maintenance.js