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

auth_no_pri.js should use a lower electionTimeoutMillis

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      auth_no_pri.js uses a high election timeout of 1 day. It's possible when shutting down the first two nodes that the third node gets elected.

      If it becomes the primary, it won't step down to become a secondary because of the high election timeout - we wait for at least that much time before seeing that we can't see a majority of nodes.

      We need to make sure it doesn't stay as primary in case it becomes the primary.

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None