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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.11.0
    • None
    • Transaction Management
    • 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

            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: