Allow ShardingTest to be initiated with a high election timeout

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Repl 2024-10-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When creating a ReplSetTest, it can be set up with initiateWithHighElectionTimeout in order to ensure that the primary node does not change during the test. When creating a ShardingTest, it uses initiateWithAnyNodeAsPrimary and does not appear to have a simple/straightforward way to set a high election timeout, equivalent to what ReplSetTest has.

            Assignee:
            Moustafa Maher
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: