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

Prevent unexpected elections in initial_sync4.js and initial_sync_rename_collection*.js

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Repl 2018-09-10

    Description

      These tests add a second node to a 1 node replica set and expect the primary to stay up. If the secondary takes more than the election timeout to complete its initial sync, however, the primary may step down. We should add the secondary with votes:0 to prevent the unexpected election.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: