[JAVA-107] connect to replica pair fails if server and client use different naming schema (hostname vs. FQDN) Created: 20/Apr/10  Updated: 29/Oct/10  Resolved: 22/Apr/10

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 2.0

Type: Bug Priority: Major - P3
Reporter: Swen Thümmler Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File 0001-fix-pair-connect-for-multi-homed-hosts.patch    

 Description   

connect to a replica pair may fail to find the master, when the client uses a different connection string than the paired servers (e.g. the server uses the machine name and the client the fully qualified domain name).

Fix attached.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 22/Apr/10 ]

slightly different implementation pushed

Comment by auto [ 22/Apr/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: better repl pair handling and some prep for repl sets JAVA-107
http://github.com/mongodb/mongo-java-driver/commit/2dc739e626e9da3de2a8c43ddfbcad53919b153b

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