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

    • Replication
    • Fully Compatible

      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.

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

              Created:
              Updated: