Coverity analysis defect 144703: Data race condition

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • 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/repl/tenant_migration_recipient_service.cpp:490: MISSING_LOCK 144703 Accessing "this->this->_stateDoc" without holding lock "mongo::repl::TenantMigrationRecipientService::Instance._mutex". Elsewhere, "mongo::repl::TenantMigrationRecipientService::Instance._stateDoc" is written to with "Instance._mutex" held 13 out of 15 times.

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

              Created:
              Updated: