Coverity analysis defect 177437: 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/index_builds/repl_index_build_state.cpp:745: MISSING_LOCK 177437 Accessing "this->_indexBuildState" without holding lock "mongo::ReplIndexBuildState._mutex". Elsewhere, "mongo::ReplIndexBuildState._indexBuildState" is written to with "ReplIndexBuildState._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: