[JAVA-533] Driver allows connection to multiple replica sets without and errors or warnings Created: 07/Mar/12 Updated: 25/Jun/13 Resolved: 07/Mar/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | 2.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Miller | Assignee: | Jeffrey Yemin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | replicaset | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Centos on AWS |
||
| Description |
|
The driver allows a connection string with a number of hosts, but the hosts can belong to multiple replica sets. The situation occurred when we used two nodes to create another replica set, but failed to change the connection string. No error's were reported by the driver, instead strange application behaviour was experienced as sometimes nodes 5 and 6 were queried, but contained no relevant data. I know there is a replicaSet option, which I believe causing more checking, but I would think that the default behaviour would be to check that all hosts were in the same replica sets, and to only be able to see one primary. |
| Comments |
| Comment by Jeffrey Yemin [ 07/Mar/12 ] |
|
Duplicates |