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

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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • None
    • Replication

      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.

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

              Created:
              Updated:
              Resolved: