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

ReplicaSetMonitor::notifySlaveFailure not thread safe

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: 2.1.0
    • Component/s: Replication
    • None
    • ALL

      Once you get the index (with respect to _nodes) of the server, it is possible that another thread would refresh _nodes and notifySlaveFailure would end up modifying the wrong node.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: