[SERVER-55796] Wait for replication in indexbg_killop_stepup.js before step up Created: 05/Apr/21  Updated: 29/Oct/23  Resolved: 06/Apr/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
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
Operating System: ALL
Sprint: Execution Team 2021-04-19
Participants:
Linked BF Score: 23

 Description   

This test uses the replSetStepUp command, which can occasionally fail if there is a transient election failure due to the secondary being behind the primary.

The ReplSetTest.stepUp() helper waits for replication, which I think this should be doing as well.



 Comments   
Comment by Githook User [ 06/Apr/21 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-55796 Wait for replication in indexbg_killop_stepup.js before step up
Branch: master
https://github.com/mongodb/mongo/commit/720dce2b1ba3cf90c79091cf7769e71b73f83891

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