[CSHARP-315] Support ReadPreference (deprecate SlaveOk) Created: 06/Sep/11 Updated: 20/Mar/14 Resolved: 27/Aug/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 1.6 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 7 |
| Labels: | SERVER_V2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Support new ReadPreference options and deprecate SlaveOk. |
| Comments |
| Comment by auto [ 23/Aug/12 ] |
|
Author: {u'date': u'2012-08-20T13:36:40-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 14/Jul/12 ] |
|
Author: {u'date': u'2012-07-13T22:22:34-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 13/Jul/12 ] |
|
Author: {u'date': u'2012-07-13T12:46:58-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-11T18:30:00-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-11T10:50:06-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-11T10:34:49-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-10T20:19:00-07:00', u'email': u'robert@10gen.com', u'name': u'Robert Stam'}Message: |
| Comment by Grégoire Seux [ 29/Mar/12 ] |
|
Is there any place we can have an idea of the draft protocol for this functionnality ? |
| Comment by Robert Stam [ 29/Dec/11 ] |
|
Work on this ticket has not yet commenced because the driver team as a whole has not yet standardized the functionality required. There is also an internal requirement that the drivers not implement this functionality until the wire protocol has been enhanced to allow passing this same information to mongos so that the same read preferences are supported in a sharded environment as in a non-sharded replica set. |
| Comment by Grégoire Seux [ 29/Dec/11 ] |
|
Another use of this function would be to allow to read from all instances in a replicaset (master and slaves). For now, documentation states that slaveOk queries are routed to slaves only. Is there any news on this ticket ? Can I help ? |
| Comment by Aristarkh Zagorodnikov [ 02/Nov/11 ] |
|
Also interested in this, we already plan for replica sets to span datacenters and having local reads inside each datacenter instead of going over VPN would be helpful latency-wise. |
| Comment by Grégoire Seux [ 18/Oct/11 ] |
|
it depends on the core server feature |
| Comment by Brennan Cheung [ 17/Oct/11 ] |
|
Sounds like this is dependent on the main database (we're using ruby) but waiting for this feature as well. Currently stuck on master/slave until this is implemented. |
| Comment by Robert Stam [ 10/Oct/11 ] |
|
Thanks for the feedback. Knowing whether or not users are waiting for a particular feature is helpful in scheduling the order they are implemented in. Perhaps others can comment or vote also. |
| Comment by Grégoire Seux [ 10/Oct/11 ] |
|
This is really a crucial feature for us, I would be glad to help to make it happen. EDIT (explain why this feature is really useful) :
|