7.0 -- Coverity analysis defect 170779: Data race condition

XMLWordPrintableJSON

    • Replication
    • ALL
    • None
    • 3
    • 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/repl/tenant_migration_recipient_service.cpp:2855: MISSING_LOCK 170779 Accessing "this->this->_importedFilesPromise" without holding lock "mongo::repl::TenantMigrationRecipientService::Instance._mutex". Elsewhere, "mongo::repl::TenantMigrationRecipientService::Instance._importedFilesPromise" is written to with "Instance._mutex" held 2 out of 2 times.

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

              Created:
              Updated:
              Resolved: