[SERVER-25598] call stepUp before awaitSecondaryNodes() in linerearizable_read_concern.js Created: 12/Aug/16  Updated: 06/Dec/22  Resolved: 06/Jan/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Judah Schvimer Assignee: Backlog - Replication Team
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 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.



 Comments   
Comment by Judah Schvimer [ 06/Jan/20 ]

A recent waterfall patch took 21 seconds to run this test. Closing Gone Away.

Generated at Thu Feb 08 04:09:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.