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

Allow read-only transactions to commit after failure

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:

      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

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: