[SERVER-7423] Support commands for read preference Created: 19/Oct/12 Updated: 11/Jul/16 Resolved: 19/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client, Sharding |
| Affects Version/s: | 2.1.1 |
| Fix Version/s: | 2.3.1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Description |
|
The driver's generic command() or runCommand() API should accept a read preference, and obey the preference for these commands: group Note: In the future we'll need to add a field to commands in listCommands to distinguish new commands that should obey the read preference. The slaveOk field alone doesn't cover this: e.g., reindex has slaveOk true, but we've decided that reindex with a read preference of SECONDARY should not reindex a random secondary, it should be run on the primary. |
| Comments |
| Comment by auto [ 22/Jan/13 ] |
|
Author: {u'date': u'2013-01-22T19:02:27Z', u'email': u'jesse@10gen.com', u'name': u'A. Jesse Jiryu Davis'}Message: |
| Comment by auto [ 20/Nov/12 ] |
|
Author: {u'date': u'2012-11-20T16:04:20Z', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}Message: Made sure that the drop command gets applied on the secondaries first before initializing the profile collections in the test. |
| Comment by auto [ 19/Nov/12 ] |
|
Author: {u'date': u'2012-11-05T20:16:56Z', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}Message: Step#2 Added mongos support. |
| Comment by auto [ 31/Oct/12 ] |
|
Author: {u'date': u'2012-10-16T19:21:17-07:00', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Step#1 Add shell helper |