[CSHARP-735] When connected directly to a secondary, do not coerce ReadPreference to Primary. Created: 26/Apr/13 Updated: 20/Mar/14 Resolved: 30/Apr/13 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.8.1 |
| Fix Version/s: | 1.8.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In accordance with the ReadPreference spec the driver coerces the ReadPreference to Primary for any command that is not allowed to be sent to a secondary. However, since this was implemented, the ReadPreference spec has been amended to state that this coercion should only happen when connected to a replica set. In particular, it should NOT be done when connected directly to a secondary. |
| Comments |
| Comment by auto [ 30/Apr/13 ] |
|
Author: {u'date': u'2013-04-30T14:12:50Z', u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |