Increase the election timeout period in atlas_snapshot_workflows.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • ALL
    • v5.0
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: