[CDRIVER-836] Only try to authenticate once on failure Created: 11/Sep/15  Updated: 19/Oct/16  Resolved: 16/Sep/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.2-beta1
Fix Version/s: 1.2-rc0

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PHPC-415 Failed authentication causes re-authe... Closed

 Description   

Currently in single threaded mode, we'll try to reconnect to a node with failed credentials on initial auth failure.

This is because in threaded mode, the node hasn't been added and may therefore not exist, while in single threaded mode the streams are shared.



 Comments   
Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-836: Only attempt to authenticate once, not twice, on auth failure
Branch: 1.3.0-dev
https://github.com/mongodb/mongo-c-driver/commit/f512cbf82d3e34a06b7d43e3948489527da943e1

Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-836: Only attempt to authenticate once, not twice, on auth failure
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/f512cbf82d3e34a06b7d43e3948489527da943e1

Comment by Githook User [ 16/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-836: Only attempt to authenticate once, not twice, on auth failure
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/f512cbf82d3e34a06b7d43e3948489527da943e1

Comment by Hannes Magnusson [ 11/Sep/15 ]

https://mongodbcr.appspot.com/25170002/

Generated at Wed Feb 07 21:10:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.