[JAVA-1544] Remove DB.requestStart, DB.requestDone, DB.requestEnsureConnection Created: 10/Nov/14  Updated: 31/Mar/15  Resolved: 12/Nov/14

Status: Closed
Project: Java Driver
Component/s: API, Connection Management
Affects Version/s: None
Fix Version/s: 3.0.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
depends on JAVA-1543 Deprecate DB.requestStart, DB.request... Closed
Related
is related to CSHARP-1102 Remove RequestStart from the public API Closed
is related to PYTHON-785 Remove start_request() Closed

 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, these methods will be removed.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added DB requestStart/requestDone/requestEnsureConnection to clirr-exclude.yml

JAVA-1544
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e171f1fa88ecbe1a62e6d4588b6c087566f17b15

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Removed requestStart, requestDone, and requestEnsureConnection in DB class.

JAVA-1544
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/163d538dbc190df30f1caa32dc1cd7f25d2b4a13

Comment by Githook User [ 13/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added DB requestStart/requestDone/requestEnsureConnection to clirr-exclude.yml

JAVA-1544
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/e171f1fa88ecbe1a62e6d4588b6c087566f17b15

Comment by Githook User [ 12/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Removed requestStart, requestDone, and requestEnsureConnection in DB class.

JAVA-1544
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/163d538dbc190df30f1caa32dc1cd7f25d2b4a13

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