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

Extended PV1 arbiter primeality test to all secondaries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: