Coverity analysis defect 151199: 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/wiredtiger/wiredtiger_kv_engine.cpp:1392: MISSING_LOCK 151199 Accessing "this->_wtBackup.cursor" without holding lock "mongo::WiredTigerBackup.wtBackupCursorMutex". Elsewhere, "mongo::WiredTigerBackup.cursor" is written to with "WiredTigerBackup.wtBackupCursorMutex" held 4 out of 4 times.

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

                Created:
                Updated: