Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1845

Allow read-only transactions to commit after failure

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None

      See SERVER-17652.

      This is arguably a case of WiredTiger being too strict. We track whether any operation has "failed" during a transaction, with a fairly broad definition of failure. If an operation fails, any attempt to call WT_SESSION::commit_transaction will cause a rollback and return an error.

      In the case of read-only transactions, this is a non-issue, because rollback and commit are equivalent. It seems like we should be able to relax the restriction and allow commit after failures in read-only transactions.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: