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

Unacknowledged write concern set on collection incorrectly applied when in a transaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11.0
    • Component/s: Transaction Management
    • Labels:
      None

      Description

      The drivers transactions specification requires that any write concern configured at the collection level is ignored when in a transaction. For the most part, the driver does this, but in the case where that configured write concern is unacknowledged, that write concern is incorrectly applied to make several wrong decisions, including:

      • Configuring the OP_MSG to not generate a response
      • Not returning the result of the write

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: