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

Coverity analysis defect 138900: Data race condition

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • Storage Engines
    • 나비 (nabi) - 2024-04-16

      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
      /src/evict/evict_lru.c:247: MISSING_LOCK 138900 Accessing "queue->evict_candidates" without holding lock "_wt_spinlock.lock". Elsewhere, "wt_evict_queue.evict_candidates" is written to with "_wt_spinlock.lock" held 7 out of 7 times.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: