[SERVER-28192] priority_takeover_one_node_higher_priority jstest needs longer stepDownGuard Created: 03/Mar/17  Updated: 04/Oct/17  Resolved: 20/Jul/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.17, 3.4.7, 3.5.6

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Done 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:
v3.4, v3.2
Participants:
Linked BF Score: 0

 Description   

The test occasionally fails because the high priority node steps up before the low priority node is elected. We can increase the stepDownGuard in priority_takeover_one_node_higher_priority.js to 10 * electionTimeoutMillis, then explicitly end the stepdown period on the high priority node with replSetFreeze after the low priority node is elected to avoid the test taking longer.



 Comments   
Comment by Ramon Fernandez Marina [ 08/Sep/17 ]

Author:

{'username': u'mtrussotto', 'name': u'Matthew Russotto', 'email': u'matthew.russotto@10gen.com'}

Message:SERVER-28192 priority_takeover_one_node_higher_priority jstest needs longer stepDownGuard

(cherry picked from commit dbee67bcd50a838d0a12cfcce2040479cb6fe2b8)
Branch:v3.2
https://github.com/mongodb/mongo/commit/645078e5dd7677b09f707f555fe113714a6e9654

Comment by Githook User [ 14/Jul/17 ]

Author:

{u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}

Message: SERVER-28192 priority_takeover_one_node_higher_priority jstest needs longer stepDownGuard

(cherry picked from commit dbee67bcd50a838d0a12cfcce2040479cb6fe2b8)
Branch: v3.4
https://github.com/mongodb/mongo/commit/1d818c9d2c4526c7105589405990337d07c1fcc1

Comment by Githook User [ 14/Apr/17 ]

Author:

{u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}

Message: SERVER-28192 priority_takeover_one_node_higher_priority jstest needs longer stepDownGuard
Branch: master
https://github.com/mongodb/mongo/commit/dbee67bcd50a838d0a12cfcce2040479cb6fe2b8

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