Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41165

Transaction participants don't need to do a noop write before committing a read-only transaction

    XMLWordPrintableJSON

Details

    • Replication
    • Fully Compatible

    Description

      Currently, TransactionParticipant::commitUnpreparedTransaction does a noop write after committing a read-only transaction, so that waiting for writeConcern waits for a Timestamp after the transaction's read Timestamp, to respect the isolation level requested by the client's writeConcern.

      Instead, it can just wait for writeConcern of the read Timestamp.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: