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

Allow ShardingTest to be initiated with a high election timeout

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

      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:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: