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

Increase the election timeout period in atlas_snapshot_workflows.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Linked BF Score:
      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

            Assignee:
            backlog-server-repl Backlog - Replication Team
            Reporter:
            vishnu.kaushik Vishnu Kaushik
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: