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

in DBTCPConnector.say(), possible race condition that affects getLastError() result

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.3
    • None
    • None
    • None

    Description

      the code first puts port back in pool, then creates a WriteResult with the port.
      The WriteResult tries to remember the current call id of the port, but port may already have been reused.
      If getlasterror is called, it will see result of later call.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: