Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
3.0.3
-
None
-
None
-
ALL
-
Description
I started a single node replica set with auth enabled for testing. It doesn't want to shutdown claiming no electable secondaries are available:
$ mongo admin -u user -p password --eval "db.shutdownServer()"
|
MongoDB shell version: 3.0.3
|
connecting to: 127.0.0.1:27017/admin
|
assert failed : unexpected error: Error: shutdownServer failed: No electable secondaries caught up as of 2015-05-30T17:57:32.163+0100
|
Error: assert failed : unexpected error: Error: shutdownServer failed: No electable secondaries caught up as of 2015-05-30T17:57:32.163+0100
|
at Error (<anonymous>)
|
at doassert (src/mongo/shell/assert.js:11:14)
|
at assert (src/mongo/shell/assert.js:20:5)
|
at DB.shutdownServer (src/mongo/shell/db.js:212:9)
|
at (shell eval):1:4
|
2015-05-30T17:57:32.166+0100 E QUERY Error: assert failed : unexpected error: Error: shutdownServer failed: No electable secondaries caught up as of 2015-05-30T17:57:32.163+0100
|
at Error (<anonymous>)
|
at doassert (src/mongo/shell/assert.js:11:14)
|
at assert (src/mongo/shell/assert.js:20:5)
|
at DB.shutdownServer (src/mongo/shell/db.js:212:9)
|
at (shell eval):1:4 at src/mongo/shell/assert.js:13
|