[JAVA-460] Change ReadPreference.PRIMARY to fallback to secondaries Created: 26/Oct/11 Updated: 15/Dec/11 Resolved: 14/Dec/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | 2.7.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Malte Finsterwalder | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
When there is no primary available, it falls back to reading from a secondary. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 15/Dec/11 ] |
|
The state during an election isn't easy to detect from clients. It just looks like there is no primary, much like the other state. There is a request for a ReadPreference.Primary_First you can track here: |
| Comment by Malte Finsterwalder [ 14/Dec/11 ] |
|
I think you missunderstood. |
| Comment by Malte Finsterwalder [ 09/Dec/11 ] |
|
It might be better to not change the existing setting, but introduce a new setting. |