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

Report a better error message if transaction commit fails

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.2, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-12-18, Storage 2018-01-15

      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.

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

              Created:
              Updated:
              Resolved: