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

Add basic "ignore_prepare" testing to test format.

    • Storage Engines
    • 5
    • StorEng - 2024-12-10

      It is possible to read beyond a prepared update and not be returned a WT_PREPARE_CONFLICT if the config "ignore_prepare=true" or "ignore_prepare=force" is provided during session->begin_transaction. This feature doesn't have a lot of test coverage at this stage and we should expand this in test format.

      We should have test format do occasional "ignore_prepare=true" reads to stress the relevant code paths. I would suggest this is a configuration item for test format and only turned on when prepared updates are enabled and even then probably only 5% of the time. The exact amount can vary.

      The reads will not be repeatable so it is important to make sure test format doesn't try and verify them.

      Scope:

      • Add "ignore_prepare" reads to test format
      • Run a stress test patch build. If there is signficant fallout create tickets for each failure types and wait to merge this

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: