-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
0
The regression test for SERVER-17671 (initial_sync_unsupported_auth_schema.js) is still causing intermittent failures, even after the fix from SERVER-17808.
The issue is that calling ReplSetTest.reInitiate causes ismaster commands to be run on each secondary. If a secondary has already aborted due to the invalid auth schema, the reInitiate call will throw an exception:
2015-03-31T01:36:32.212+0000 E QUERY Error: error doing query: failed at DBQuery._exec (src/mongo/shell/query.js:94:40) at DBQuery.hasNext (src/mongo/shell/query.js:246:10) at DBCollection.findOne (src/mongo/shell/collection.js:188:19) at DB.runCommand (src/mongo/shell/db.js:58:41) at src/mongo/shell/replsettest.js:358:55 at Function.assert.soon (src/mongo/shell/assert.js:183:17) at ReplSetTest.awaitSecondaryNodes (src/mongo/shell/replsettest.js:351:10) at ReplSetTest.initiate (src/mongo/shell/replsettest.js:460:10) at ReplSetTest.reInitiate (src/mongo/shell/replsettest.js:476:10)
- is related to
-
SERVER-17808 Ensure availability in initial_sync_unsupported_auth_schema.js test
- Closed
-
SERVER-17671 Refuse to complete initial sync from nodes with 2.4-style auth data
- Closed
- related to
-
SERVER-17998 Ignore socket exceptions in initial_sync_unsupported_auth_schema.js test
- Closed
- links to