[CXX-21] C++ Driver does not support replica sets with identical name Created: 26/Aug/13  Updated: 07/Jan/15  Resolved: 07/Jan/15

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Louis Benoit Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 13.04


Attachments: File SERVER-10625.diff    

 Description   

Each DBClientReplicaSet instance must be created with a different replica set name. If two DBClientReplicaSet instances have the same name, only the first one created is accessible.
This is an issue when an application is required to connect to any set of replica sets. In fact this is a blocking issue when the user of this application does not have the control on the replica sets naming.



 Comments   
Comment by Adam Midvidy [ 07/Jan/15 ]

We do not intend to support this functionality. We recommend using different names for different replica sets.

Comment by Louis Benoit [ 28/Jan/14 ]

I have attached a diff that implements a potential solution: the replica set names are mangled to differentiate between replica set.

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