Coverity analysis defect 177376: Data race condition

XMLWordPrintableJSON

    • Storage Engines - Persistence
    • SE Persistence backlog
    • 1

      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/session/session_prefetch.c:35: MISSING_LOCK 177376 Accessing "((WT_CONNECTION_IMPL *)((WT_SESSION_IMPL *)session)>iface.connection)>prefetch_queue_count" without holding lock "_wt_spinlock.lock". Elsewhere, "wt_connection_impl.prefetch_queue_count" is written to with "_wt_spinlock.lock" held 3 out of 3 times.

            Assignee:
            Etienne Petrel
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: