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

Test and document behavior of running abortTransaction and commitTransaction against snapshot reads

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication, Storage
    • None
    • Replication

    Description

      Running abortTransaction or commitTransaction with a txnNumber of a snapshot read (non-multi-statement transaction) should do something reasonable and have tests and documentation. It would be reasonable to either abort the transaction (following the same abort path we would take by bumping the txnNumber) or return an error that the txnNumber does not correspond to a multi-statement transaction.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: