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

ReplicaSetMonitor::notifySlaveFailure not thread safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      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

              • Assignee:
                renctan Randolph Tan
                Reporter:
                renctan Randolph Tan
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: