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

Allow read-only transactions to commit after failure

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: