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

Increase the election timeout period in atlas_snapshot_workflows.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication
    • ALL
    • v5.0
    • 35

    Description

      atlas_snapshot_workflows.js uses a small election timeout period to speed up the test. However, this can also increase the frequency of unexpected step-downs. We should increase the election timeout slightly.

      Also, the checkReplicaSets method is always called with a calculation of the live secondaries appearing right before it is called, such as here. This can be moved inside the method, after the getPrimary call to improve synchronization. This isn't necessary to fix the bug, but can be investigated.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: