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

Every connection should determine for itself the version of the server

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • Connection Management
    • None

    Description

      If a Connection relies on the containing Server instance to determine its description, there is a race whereby the MongoDB server could have been restarted since the last refresh of the Server's description, and the Connection could end up reporting an incorrect version. This is important because clients use the server description to determine what operation to send to a server (e.g., write command vs. opcodes), so it's important that this information always be correct.

      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: