Coverity analysis defect 176078: Data race condition

XMLWordPrintableJSON

    • Cluster Scalability
    • ALL
    • ClusterScalability 19Jan-2Feb
    • 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:1277: MISSING_LOCK 176078 Accessing "this->_txnNumber" without holding lock "mongo::MigrationDestinationManager._mutex". Elsewhere, "mongo::MigrationDestinationManager._txnNumber" is written to with "MigrationDestinationManager._mutex" held 2 out of 2 times.

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

              Created:
              Updated:
              Resolved: