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

replica set reconfig passthroughs should set a higher default election timeout

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • v4.4
    • Repl 2020-05-04
    • 37

      Currently, the way we determine the election timeout for suites is through the all_nodes_electable field. If this value is false (the default), we will set the election timeout to 24 hours to avoid spurious elections from occurring.

      The replica set reconfig passthroughs set all_nodes_electable to true since we want to start with 5 voting nodes and periodically change their votes via reconfig. This causes us to set the default election timeout to 10 seconds, which can cause spurious elections if there are liveness issues.

      This causes undesirable behavior with hooks like ValidateCollections and CheckReplOplogs.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: