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

ReplicaSetMonitor::notifySlaveFailure not thread safe

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • Replication
    • None
    • ALL

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: