Coverity analysis defect 154417: Data race condition

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • ALL
    • None
    • 3
    • TBD
    • 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:923: MISSING_LOCK 154417 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:
              Unassigned
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: