[SERVER-6665] authentication for a replica set requires the primary be online Created: 31/Jul/12  Updated: 11/Jul/16  Resolved: 14/Mar/14

Status: Closed
Project: Core Server
Component/s: Internal Client, Security
Affects Version/s: None
Fix Version/s: 2.6.0-rc2

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-6495 Authing a RO user against rs with no ... Closed
Related
related to SERVER-6664 mongos won't create a new connection ... Closed
is related to SERVER-5064 mongos can't start when one config se... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

... in all drivers, including C++. For slaveOk'd connections, do we want this to be the case?

Affects mongos, but masked by SERVER-6664



 Comments   
Comment by Githook User [ 14/Mar/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-6665 Add test to ensure that you can auth a RS connection to a RS with no primary
Branch: v2.6
https://github.com/mongodb/mongo/commit/355010463819103cd4475079260ed9aae392354c

Comment by Githook User [ 14/Mar/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-6665 Add test to ensure that you can auth a RS connection to a RS with no primary
Branch: master
https://github.com/mongodb/mongo/commit/1083f8dec3870477407396b307aa426908491aef

Comment by Spencer Brody (Inactive) [ 13/Mar/14 ]

This appears to have already been fixed by other work that was done in 2.6, my guess is it was fixed by the rewrite of the ReplicaSetMonitor.

Holding out on closing this ticket atm, because I think it would be good to have a jstest for this before doing so.

Generated at Thu Feb 08 03:12:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.