Coverity analysis defect 153194: Data race condition

XMLWordPrintableJSON

    • Cluster Scalability
    • ALL
    • 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/s/migration_destination_manager.cpp:2021: MISSING_LOCK 153194 Accessing "this->_canReleaseCriticalSectionPromise" without holding lock "mongo::MigrationDestinationManager._mutex". Elsewhere, "mongo::MigrationDestinationManager._canReleaseCriticalSectionPromise" is written to with "MigrationDestinationManager._mutex" held 3 out of 3 times.

            Assignee:
            Brett Nawrocki
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: