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

Cursors should be reset after an auto-commit failure.

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.2.1
    • Affects Version/s: None
    • Component/s: None

      @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).

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

              Created:
              Updated:
              Resolved: