[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:
Depends
is depended on by JAVA-1544 Remove DB.requestStart, DB.requestDon... Closed
Related
is related to JAVA-688 Java driver concurrency documentation... Closed
Epic Link: 2.13 Deprecations
Case:

 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.

JAVA-1543
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e36ab64cf883360d08cc2dac93314037050b124f

Generated at Thu Feb 08 08:54:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.