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

Investigate enabling TSan for WiredTiger testing

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 8
    • 2024-02-06 tapioooooooooooooca, 2024-02-20_A_near-death_puffin

      As part of the acquire/release barrier migration taking place in PM-3221 we're investigating whether we can turn on TSan to help detect races. We haven't used it previously since it didn't play nicely with WiredTiger's thread model, however WT-11907 has shown promise that we can resolve a majority of the warnings by using atomic loads and stores where we currently use a normal assignment.

      This ticket will determine:

      • What is required to turn on TSan in WiredTiger testing
      • What changes can be made now, and which TSan warnings should be suppressed for later resolving
      • If it doesn't look likely we can enable TSan now, then review steps to turn on TSan for only an isolated subset of the code base

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: