m31000| 2014-11-24T23:28:14.093+0000 I WRITE [conn1] insert fgIndexSec.jstests_fgsec query: { _id: ObjectId('5473bf0c0e5dcd6fefdde166'), i: 31028.0 } ninserted:1 keyUpdates:0 numYields:0 1195ms
m31000| 2014-11-24T23:28:14.167+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 1320ms
m31000| 2014-11-24T23:28:15.510+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 129ms
m31000| 2014-11-24T23:28:15.858+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 312ms
m31000| 2014-11-24T23:28:16.396+0000 I WRITE [conn1] insert fgIndexSec.jstests_fgsec query: { _id: ObjectId('5473bf100e5dcd6fefde0671'), i: 40511.0 } ninserted:1 keyUpdates:0 numYields:0 197ms
m31000| 2014-11-24T23:28:16.444+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 296ms
m31000| 2014-11-24T23:28:17.596+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 125ms
m31000| 2014-11-24T23:28:18.497+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 137ms
m31000| 2014-11-24T23:28:18.972+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 126ms
m31000| 2014-11-24T23:28:19.234+0000 I WRITE [conn1] insert fgIndexSec.jstests_fgsec query: { _id: ObjectId('5473bf120e5dcd6fefde4394'), i: 56162.0 } ninserted:1 keyUpdates:0 numYields:0 196ms
m31000| 2014-11-24T23:28:19.549+0000 I WRITE [conn1] insert fgIndexSec.jstests_fgsec query: { _id: ObjectId('5473bf120e5dcd6fefde443e'), i: 56332.0 } ninserted:1 keyUpdates:0 numYields:0 304ms
m31000| 2014-11-24T23:28:19.607+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 576ms
m31000| 2014-11-24T23:28:19.801+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 136ms
m31000| 2014-11-24T23:28:22.990+0000 I QUERY [conn1] command fgIndexSec.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 reslen:80 115ms
m31000| 2014-11-24T23:28:27.792+0000 I REPL [ReplicationExecutor] can't see a majority of the set, relinquishing primary
m31000| 2014-11-24T23:28:27.792+0000 I REPL [ReplicationExecutor] Stepping down from primary in response to heartbeat
m31001| 2014-11-24T23:28:27.792+0000 I REPL [ReplicationExecutor] Standing for election
m31000| 2014-11-24T23:28:27.796+0000 I STORAGE [FileAllocator] allocating new datafile /data/db/fgIndex-0/fgIndexSec.1, filling with zeroes...
m31001| 2014-11-24T23:28:27.880+0000 I REPL [ReplicationExecutor] not electing self, ip-10-80-177-35:31002 would veto with 'errmsg: "I don't think ip-10-80-177-35:31001 is electable because the member is not currently a secondary; member is more than 10 seconds behind the most up-to..."'
m31001| 2014-11-24T23:28:27.880+0000 I REPL [ReplicationExecutor] not electing self, we are not freshest
2014-11-24T23:28:27.945+0000 I NETWORK DBClientCursor::init call() failed
2014-11-24T23:28:27.952+0000 I QUERY Error: error doing query: failed
at DBQuery._exec (src/mongo/shell/query.js:83:36)
at DBQuery.next (src/mongo/shell/query.js:249:10)
at executeBatch (src/mongo/shell/bulk_api.js:856:43)
at execute (src/mongo/shell/bulk_api.js:1139:11)
at /data/mci/shell/src/jstests/replsets/index_restart_secondary.js:38:21 at src/mongo/shell/query.js:83
failed to load: /data/mci/shell/src/jstests/replsets/index_restart_secondary.js