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

7.0 -- Coverity analysis defect 171182: 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.h:315: MISSING_LOCK 171182 Accessing "this->_lastHighestWallTime" without holding lock "mongo::CollectionTruncateMarkersWithPartialExpiration._lastHighestRecordMutex". Elsewhere, "mongo::CollectionTruncateMarkersWithPartialExpiration._lastHighestWallTime" is written to with "CollectionTruncateMarkersWithPartialExpiration._lastHighestRecordMutex" held 2 out of 2 times.

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

              Created:
              Updated:
              None
              None
              None
              None