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

Report a better error message if transaction commit fails

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.2, WT3.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      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

            • Assignee:
              keith.bostic Keith Bostic
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: