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

Cursors should be reset after an auto-commit failure.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.2.1
    • Component/s: None
    • Labels:

      Description

      @michaelcahill, here's the change for WT-672. What you suggested (calling WT_SESSION::rollback), looked correct to me, although I abstracted out the call to avoid API macro confusion.

      There's a related test suite fix (duplicating a cursor after a failed implicit transaction no longer succeeds), and related documentation update (only successful implicit transactions leave the cursors positioned/available).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: