[SERVER-60392] Fix timing in priority_takeover_two_nodes_equal_priority test. Created: 01/Oct/21  Updated: 29/Oct/23  Resolved: 18/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.6, 5.0.3-rc0, 4.2.19, 4.4.13

Type: Bug Priority: Major - P3
Reporter: Moustafa Maher Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0, v4.4, v4.2
Sprint: Repl 2021-10-18, Repl 2021-11-01
Participants:
Linked BF Score: 43

 Description   
the wait time for secondaryCatchUpPeriodSecs and the TimeLimit for StepDown are the same, so if the first trial for stepdown failed we will finish all the time waiting for the secondary to catchup then we will fail the command with timeLimitExceeded.

 
 
 



 Comments   
Comment by Githook User [ 10/Jan/22 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test
Branch: v5.0
https://github.com/mongodb/mongo/commit/d74af844d52a7ccf2638aab13e6a8ce1839fa998

Comment by Githook User [ 10/Jan/22 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test
Branch: v4.2
https://github.com/mongodb/mongo/commit/ebed720bc2c1037b658bbbe027fbb38965babc2f

Comment by Githook User [ 10/Jan/22 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test
Branch: v4.4
https://github.com/mongodb/mongo/commit/92d90550053426a32c156618cb03cbc7d4c2bedf

Comment by Githook User [ 14/Oct/21 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test
Branch: master
https://github.com/mongodb/mongo/commit/7c4f35fc1a591398f14d0f5fdfc0e0ccfceaece6

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