[DOCS-707] Read Preference doco should say that slaveOk has been deprecated Created: 01/Nov/12 Updated: 30/Oct/23 Resolved: 06/Nov/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ian Daniel | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
http://docs.mongodb.org/manual/applications/replication/#read-preference |
||
| Participants: | |
| Days since reply: | 11 years, 15 weeks, 1 day ago |
| Description |
|
At least some of the drivers indicate that slaveOk has been deprecated. For example, http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html#slaveOk We do not, however, indicate that slaveOk is deprecated in the read preference documentation in the manual. Perhaps we should say at the beginnning of that section that slaveOk is deprecated and that a read preference should be used instead. |
| Comments |
| Comment by auto [ 06/Nov/12 ] |
|
Author: {u'date': u'2012-11-06T22:29:24Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: |
| Comment by Sam Kleinman (Inactive) [ 06/Nov/12 ] |
|
slaveOk remains in the wire protocol, so there hasn't been a top down edict to deprecate "slaveOk," but rather specific drivers have deprecated the name slaveOk as a way to control read preference, in conjunction with driver releases around 2.2. I've made a number of small changes to make these docs more consistent with that, but can't add deprecation warnings, yet. |