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

call stepUp before awaitSecondaryNodes() in linerearizable_read_concern.js

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: