Don't open stats cursors when handling write conflicts

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2024-12-09
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When handling WT_ROLLBACK errors due to write conflicts, we open stats cursors in all error cases before deciding which error to throw.

      These stats cursors are expensive, so we should only do so if we determine that the rollback reason was a true write conflict, and not due to cache pressure.

              Assignee:
              Shin Yee Tan
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: