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

Resizing of _nodes and updating _master is not atomic in ReplicaSetMonitor

    • ALL

      _nodes is the data structure for storing the replica node members of a replica set inside ReplicaSetMonitor and _master is used to store the index that points to the last known primary. The updates done on these two data structure is never atomic and the this is an issue especially when the _nodes shrinks and the _master points to the last element of _nodes.

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

              Created:
              Updated:
              Resolved: