[JAVA-1543] Deprecate DB.requestStart, DB.requestDone, DB.requestEnsureConnection Created: 10/Nov/14 Updated: 05/Jan/18 Resolved: 11/Nov/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Connection Management |
| Affects Version/s: | None |
| Fix Version/s: | 2.13.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | 2.13 Deprecations | ||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Description |
|
The main use case for these methods is to ensure that applications can read their own unacknowledged writes, but this is no longer so prevalent since the driver started defaulting to acknowledged writes. The other main use case is to ensure that related read operations are all routed to the same server when using a non-primary read preference. But this is dangerous because mongos no longer provides this guarantee. For these reasons, this method is now deprecated and will be removed in the next major release. |
| Comments |
| Comment by Jeffrey Yemin [ 29/Jan/15 ] |
|
2.13.0 has been released. Closing issue. |
| Comment by Githook User [ 11/Nov/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Deprecated requestStart, requestDone, and requestEnsureConnection in DB class. |