[JAVA-844] driver must authenticate before calling isMaster() Created: 04/Jun/13  Updated: 06/Apr/15  Resolved: 06/Apr/15

Status: Closed
Project: Java Driver
Component/s: Connection Management
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Barrie Segal Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-90 drivers must authenticate before call... Closed

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

This change was backed out, as authentication doesn't work with arbiters, and the driver needs to call isMaster on arbiters.

Comment by Jeffrey Yemin [ 04/Jun/13 ]

This is done in the 3.0.x branch.

See https://github.com/mongodb/mongo-java-driver/blob/3.0.x/driver/src/main/org/mongodb/connection/IsMasterServerStateNotifier.java

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