m31001| 2014-11-24T16:41:20.723+0000 I REPL [rsSync] initial sync done
m31002| 2014-11-24T16:41:20.726+0000 I NETWORK [conn6] end connection 10.67.162.109:45708 (3 connections now open)
m31001| 2014-11-24T16:41:20.726+0000 I REPL [ReplicationExecutor] transition to RECOVERING
m31001| 2014-11-24T16:41:20.727+0000 I REPL [ReplicationExecutor] transition to SECONDARY
m31002| 2014-11-24T16:41:20.936+0000 I REPL [ReplicationExecutor] Standing for election
m31002| 2014-11-24T16:41:20.936+0000 I REPL [ReplicationExecutor] replSet info electSelf
m31000| 2014-11-24T16:41:20.936+0000 I REPL [ReplicationExecutor] replSetElect voting yea for ip-10-67-162-109:31002 (2)
m31001| 2014-11-24T16:41:20.936+0000 I REPL [ReplicationExecutor] replSetElect voting yea for ip-10-67-162-109:31002 (2)
m31002| 2014-11-24T16:41:20.937+0000 I REPL [ReplicationExecutor] replSet election succeeded, assuming primary role
m31002| 2014-11-24T16:41:20.937+0000 I REPL [ReplicationExecutor] transition to PRIMARY
m31001| 2014-11-24T16:41:21.714+0000 I REPL [ReplicationExecutor] could not find member to sync from
m31002| 2014-11-24T16:41:21.730+0000 I REPL [rsSync] transition to primary complete; database writes are now permitted
getting master
getting secondaries
m31000| 2014-11-24T16:41:22.711+0000 I REPL [ReplicationExecutor] Member ip-10-67-162-109:31001 is now in state SECONDARY
m31000| 2014-11-24T16:41:22.712+0000 I REPL [ReplicationExecutor] Member ip-10-67-162-109:31002 is now in state PRIMARY
m31001| 2014-11-24T16:41:22.717+0000 I REPL [ReplicationExecutor] Member ip-10-67-162-109:31002 is now in state PRIMARY
m31002| 2014-11-24T16:41:22.720+0000 I REPL [ReplicationExecutor] Member ip-10-67-162-109:31001 is now in state SECONDARY
assert.soon failed: function () {
var result1 = rs.nodes[1].getDB("admin").runCommand({isMaster: 1});
var result2 = rs.nodes[2].getDB("admin").runCommand({isMaster: 1});
return result1.secondary && result2.secondary;
}
Error: assert.soon failed: function () {
var result1 = rs.nodes[1].getDB("admin").runCommand({isMaster: 1});
var result2 = rs.nodes[2].getDB("admin").runCommand({isMaster: 1});
return result1.secondary && result2.secondary;
}
at Error (<anonymous>)
at doassert (src/mongo/shell/assert.js:11:14)
at Function.assert.soon (src/mongo/shell/assert.js:189:13)
at setupReplSet (/data/mci/shell/src/jstests/replsets/auth2.js:19:12)
at /data/mci/shell/src/jstests/replsets/auth2.js:69:10