Coverity analysis defect 150033: Data race condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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/serverless/shard_split_donor_service.cpp:1220: MISSING_LOCK 150033 Accessing "this->this->_stateDoc" without holding lock "mongo::ShardSplitDonorService::DonorStateMachine._mutex". Elsewhere, "mongo::ShardSplitDonorService::DonorStateMachine._stateDoc" is written to with "DonorStateMachine._mutex" held 10 out of 10 times.

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

              Created:
              Updated:
              Resolved: