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

Extended PV1 arbiter primeality test to all secondaries

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None

      Under PV1 arbiters check if they can see a primary (src/mongo/db/repl/topology_coordinator_impl.cpp line 2580) but secondaries would vote in this scenaro.

      Under certain rare conditions, this can cause flapping.

      1. Netsplit
      2. Few writes combined with replication lag keep secondaries from moving their optime ahead.
      3. Secondary runs for election
      4. Enough secondaries vote from new primary.
      5. Election occurs
      6. Old primary runs priority take over

      We request this test be extended to all hosts.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: