Coverity analysis defect 140348: Double lock

    • Replication
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Double lock

      May result in immediate deadlock. Attempt to acquire a non-recursive lock that is already held
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/repl/replication_coordinator_impl.cpp:845: LOCK 140348 "unique_lock" locks "this->_mutex". [Note: The source code implementation of the function has been overridden by a builtin model.]
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/repl/replication_coordinator_impl.cpp:845: LOCK 140348 "lock" and "this->_mutex" point to the same lock. [Note: The source code implementation of the function has been overridden by a builtin model.]

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

                Created:
                Updated: