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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: