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

Coverity analysis defect 138852: Data race condition

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

      Data race condition

      The value of the shared data will be determined by the interleaving of thread execution. Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
      /ext/test/fail_fs/fail_fs.c:353: MISSING_LOCK 138852 Accessing "fail_fs->fail_enabled" without holding lock "FAIL_FILE_SYSTEM.lock". Elsewhere, "FAIL_FILE_SYSTEM.fail_enabled" is written to with "FAIL_FILE_SYSTEM.lock" held 4 out of 4 times.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: