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

Warn if no voting data bearing members

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc2
    • Component/s: Replication
    • None
    • Replication

      I have no idea what w:majority is supposed to mean in a replica set where only arbiters can vote, but it can't be good. When I tested this, a w:majority write was acknowledged by the primary even though all the secondaries were down at the time.

      Since such a replset config is highly likely to be (a) unsafe and (b) a mistake, we should output a warning if this situation is detected at replset initiate/reconfig time. We should also check to see if there are any other strange replset configs that users should be warned about.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: