-
Type: Improvement
-
Resolution: Done
-
Priority: 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