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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.18, 3.6.8, 4.0.3, 4.1.3
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: