[JAVA-768] Use ReadPreference.primaryPreferred() for authentication Created: 22/Feb/13  Updated: 19/Mar/13  Resolved: 22/Feb/13

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.10.1
Fix Version/s: 2.11.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

Currently authentication fails if the primary is unreachable, which is undesirable. Change to use primaryPreferred so that it will no longer fail.



 Comments   
Comment by Jeffrey Yemin [ 22/Feb/13 ]

Fixed in scope of change for JAVA-691: https://github.com/mongodb/mongo-java-driver/commit/3d153c065d832e544ea99febfbdc3f886f921d3e

Generated at Thu Feb 08 08:53:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.