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

Shell should not mark txn as committed if commitTransaction fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication
    • ALL

    Description

      The shell currently sets a transaction's `_txnState` to `kCommitted` without checking whether commitTransaction succeeded or not here. This seems incorrect - we should only set the state as committed if transaction successfully committed.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: