Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21228

Do not hold the replication executor mutex/lock while running isself

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Replication
    • Replication
    • ALL

      Currently when loading or validating a new config the isself check is run when holding the mutex/lock and it can lead to a dead lock or client/operation delays.

      We should instead schedule any long running IO, like the network request isself might make, of any lock.

      We may also want to audit the code to make sure no instance of this pattern exist, where we hold the mutex and issue network/disk work.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: