Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97614

Don't open stats cursors when handling write conflicts

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: