Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102283

7.0 -- Coverity analysis defect 169041: Data race condition

    • Storage Execution
    • ALL
    • Storage Execution 2025-04-14
    • 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/collection_markers.cpp:523: MISSING_LOCK 169041 Accessing "this->collectionMarkers->_minBytesPerMarker" without holding lock "mongo::CollectionTruncateMarkers._markersMutex". Elsewhere, "mongo::CollectionTruncateMarkers._minBytesPerMarker" is written to with "CollectionTruncateMarkers._markersMutex" held 1 out of 1 times (1 of these accesses strongly imply that it is necessary).

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None