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

Remove DB.requestStart, DB.requestDone, DB.requestEnsureConnection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • API, Connection Management
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: