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

nonprimaries should assist to resolve multiple primary situation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL

      If a replica set somehow gets into a state where
      there are two primaries, and the two primaries both see a majority of
      the replica set but not each other, then neither steps down.

      This happens because only the two primaries try to resolve the
      situation (see Manager::noteARemoteIsPrimary). In the test, because
      the primaries don't see each other, they both mistakenly think they
      are the sole primary, and do nothing.

      If some other machine in the replica set sees two other machines are a
      primary, that machine does nothing to try to resolve the situation. It
      does not send a step down command to either primary. See
      Manager::msgCheckNewState().

      See: https://groups.google.com/forum/?hl=en-US&fromgroups=#!topic/mongodb-dev/WA--aofOjQI

            Assignee:
            Unassigned Unassigned
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            3 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: