[SERVER-59887] Reduce the change_stream_shard_failover.js test flakiness Created: 10/Sep/21  Updated: 29/Oct/23  Resolved: 20/Sep/21

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

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 0

 Description   

This test runs slow and sometimes timeout around primary failover. To speed up election run it with 3 replicas instead of 2.

Besides slowness, I do not see anything incorrect in the logs. I suggest to do this change before doing anything else.



 Comments   
Comment by Githook User [ 13/Sep/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-59887 speedup failover in slow test by running 3 replicas
Branch: v4.0
https://github.com/mongodb/mongo/commit/8a68076c2eeb23d92ff10b0bb59bf1cb866158e5

Generated at Thu Feb 08 05:48:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.