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

Report a better error message if transaction commit fails

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.2, WT3.1.0
    • None
    • None
    • None
    • Storage 2017-12-18, Storage 2018-01-15

    Description

      It would be useful to track information about the failure which causes a transaction to enter the "must rollback" state, and report a verbose message if the user attempts to commit such a transaction.

      I expect this to involve:

      • Saving an error code and error string into the transaction structure when an error is flagged.
      • If a call is made to commit a transaction that must be rolled back report the root cause for the required rollback.

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: