auth_no_pri.js should use a lower electionTimeoutMillis

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 7.0.23, 8.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • 0
    • None
    • 3
    • 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
              Reporter:
              Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: