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

Instrument __wt_rwlock_* calls to be TSan compatible

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      We've discovered scenarios in TSan testing where code which is fully protected by WiredTiger's read/write locks reports data races. This seems to come from insufficient instrumentation for TSan which primarily depends on C11 memory model constructs to interpret the code.

      This ticket will add atomic operations with acquire and release semantics on the respected _wt_rwlock* calls to help TSan understand our lock behaviour.

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

              Created:
              Updated: