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

Possible to reconfigure with a majority down before the primary gets demoted

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • ALL

    Description

      Steps to reproduce:

      Create a replica set with 6 members. Bring down 3 members. Before the primary demotes itself to secondary, reconfig to a configuration that includes the 3 up members and 1 down member. The reconfig will succeed. If you do the same thing but wait for the primary to demote itself to secondary, the reconfig will fail (unless you use force:true).

      This may not actually be a problem as it seems that the reconfig will only work if it's changing to a configuration that will have a majority.

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: