Coverity analysis defect 174754: Data race condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • Storage Execution 2025-06-23
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      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
      /data/mci/619af5dff46e1a17bdd528b3cf0d4cc6/bazel_cache/37cb047f8c0eaa2aa46e6d31e914b00b/execroot/_main/src/mongo/db/storage/mdb_catalog.cpp:88: MISSING_LOCK 174754 Accessing "this->_catalogIdToEntryMap" without holding lock "mongo::MDBCatalog._catalogIdToEntryMapLock". Elsewhere, "mongo::MDBCatalog._catalogIdToEntryMap" is written to with "MDBCatalog._catalogIdToEntryMapLock" held 3 out of 4 times.

              Assignee:
              Haley Connelly
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: