[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: |
|
| 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. |
| 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. |