Coverity analysis defect 152608: Data race condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines, Storage Engines - Server Integration
    • ALL
    • SESI - 2025-09-16
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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/mongo/db/storage/durable_catalog.cpp:217: MISSING_LOCK 152608 Accessing "this->_catalogIdToEntryMap" without holding lock "mongo::DurableCatalog._catalogIdToEntryMapLock". Elsewhere, "mongo::DurableCatalog._catalogIdToEntryMap" is written to with "DurableCatalog._catalogIdToEntryMapLock" held 7 out of 8 times.

              Assignee:
              Gregory Wlodarek
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: