Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1543

Deprecate DB.requestStart, DB.requestDone, DB.requestEnsureConnection

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0
    • Affects Version/s: None
    • Component/s: API, Connection Management
    • None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: