[SERVER-28110] Set secondaryCatchUpPeriodSecs smaller when requesting remote primary stepdown Created: 24/Feb/17  Updated: 05/Apr/17  Resolved: 03/Mar/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.13, 3.4.3, 3.5.4

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-26747 replSetStepDown should wait for last ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4, v3.2
Sprint: Repl 2017-03-06
Participants:
Linked BF Score: 0

 Description   

We need to change the stepdown commands sent to a lower-priority primary to set secondaryCatchUpPeriodSecs to a smaller number than heartbeat interval. Otherwise, a series of blocked stepdown commands will starve the stepdown via heartbeat waiting on the global lock.

This is a quick fix before we fix SERVER-27911.



 Comments   
Comment by Githook User [ 11/Mar/17 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-28110 Set secondaryCatchUpPeriodSecs smaller when requesting remote primary stepdown

(cherry picked from commit aaee42ed5273eb36b9eb7f28cd1f437abcd610fd)
Branch: v3.2
https://github.com/mongodb/mongo/commit/66cdfa6c6f648f6d8cf0abd5db97b7afc17baa55

Comment by Siyuan Zhou [ 07/Mar/17 ]

spencer, given that we backported SERVER-27123 to 3.2, do we need to backport this to 3.2 as well?

Comment by Githook User [ 07/Mar/17 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-28110 Set secondaryCatchUpPeriodSecs smaller when requesting remote primary stepdown

(cherry picked from commit aaee42ed5273eb36b9eb7f28cd1f437abcd610fd)
Branch: v3.4
https://github.com/mongodb/mongo/commit/cac769a8711b350614475567beaa56d46e121aad

Comment by Githook User [ 03/Mar/17 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-28110 Set secondaryCatchUpPeriodSecs smaller when requesting remote primary stepdown
Branch: master
https://github.com/mongodb/mongo/commit/aaee42ed5273eb36b9eb7f28cd1f437abcd610fd

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