[JAVA-665] Connection configuration allows to specify independent nodes as replica set Created: 12/Oct/12 Updated: 07/Mar/14 Resolved: 07/Mar/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | 2.9.0, 2.9.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Raman Yushkou | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 x64 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I have faced with possibility to specify two (or more) independent nodes as replica set via MongoURI(...) parameter. E.g. I started two independent nodes...
... and configured connection like following:
There are no warnings or errors and following code behaves with illusion of correctly passed replica set configuration:
The only way to detect that configuration is incorrect - specify REPLICA_SAFE write concern:
|
| Comments |
| Comment by Raman Yushkou [ 07/Mar/14 ] |
|
Thank you, Jeff! Regards, -------- Original message -------- Jeff Yemin commented on Hi Raman, Reviewing the backlog, I see that there is a duplicate of this in – |
| Comment by Jeffrey Yemin [ 07/Mar/14 ] |
|
Hi Raman, Reviewing the backlog, I see that there is a duplicate of this in |
| Comment by Jeffrey Yemin [ 12/Oct/12 ] |
|
Thanks for this report, Raman. |