Wait for secondary's dry run election to finish before healing network in no_flapping_during_network_partition.js

XMLWordPrintableJSON

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

      To avoid the secondary potentially winning an election and bumping its term unexpectedly, we need to make sure it waits until it has completed a dry run election after checking for arbiter vote rejection. A checkLog.contains for a message like "not running for primary" may be suitable, as that is the main message signalling an unsuccessful dry run election in https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp

            Assignee:
            Judah Schvimer
            Reporter:
            Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: