call stepUp before awaitSecondaryNodes() in linerearizable_read_concern.js

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      linearizable_read_concern.js takes a long time to run. This is because ReplSetTest's initiate() method calls awaitSecondaryNodes() which waits for a primary to be elected, and this test sets the election timeout to 1 minute. Calling stepUp before initiate would cut the time for this test by a full minute.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: