[SERVER-13295] Test auth_no_pri.js uses insufficient write concern during setup. Created: 20/Mar/14 Updated: 11/Jul/16 Resolved: 20/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The test jstests/replsets/auth_no_pri.js attempts to confirm that authentication is possible on connections to replica sets with no primary. It does so by creating a small replica set, adding a user and a data document, then taking down two of the three member nodes. The remaining node must eventually drop to secondary state, at which point the test attempts to authenticate and read the data document. Unfortunately, the test does not express sufficient write concern when inserting the user and data documents, so it is possible for either of them to fail to propagate to the last node before the first two nodes are taken down. |
| Comments |
| Comment by Githook User [ 20/Mar/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: In order to confirm that you can authenticate to and read data from a (cherry picked from commit 7001e916bd78097b34812c263274eaeb5fd712cf) |
| Comment by Githook User [ 20/Mar/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: In order to confirm that you can authenticate to and read data from a |