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

Remove WTPrepareConflictForReads fail point

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-02-20, Execution Team 2023-03-06

      The WTPrepareConflictForReads is checked within wiredTigerPrepareConflictRetry which is an especially hot path. Some storage intensive queries spend more than one percent of their time just checking this fail point.

      Furthermore, the fail point is only used in one test which the storage exec team has agreed is of little value, and can be replaced with a unit test.

      This task is to:
      a) Remove WTPrepareConflictForReads and associated test.
      b) Add a unit test for wiredTigerPrepareConflictRetry which provides a special callback that will simulate prepare conflicts.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: