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

backup_restore_rolling.js can fail due to stepdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.11, 4.0.6, 4.1.7
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • v4.0, v3.6
    • Repl 2019-01-14
    • 18

      If test machine load is high enough to delay heartbeats by over 10 seconds, a replica can call for an election and cause the primary to step down. BackupRestoreTest doesn't anticipate this and can fail. In one observed case, it fails when calling listDatabases on a replica it thought was still the primary - this results in "not master" and aborts the test.

      Let's increase the electionTimeoutMillis when setting up the replica set to prevent elections.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: