[SERVER-54540] Allow for network errors when restarting heartbeats to induce rollback in rollback test fixture Created: 12/Feb/21  Updated: 29/Oct/23  Resolved: 17/Feb/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.5

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

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-53961 Restarting heartbeats in RollbackTest... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2021-02-22
Participants:
Linked BF Score: 10

 Description   

There is a race in the rollback test fixture between rollback closing all connections and the test fixture trying to send a command to restart the heartbeats so that the rollback node starts rollback in a reasonable time frame. If the first happens, we don't need to do the second since it means that the rollback has already started.



 Comments   
Comment by Githook User [ 08/Mar/21 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-54540 Allow for network errors when restarting heartbeats to induce rollback in rollback test fixture

(cherry picked from commit e5a1fe4a8ebd4cbc71c6f555ab08386d37a89736)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5ca46280b600086bf72c3230d957a5b4972a6e64

Comment by Samyukta Lanka [ 17/Feb/21 ]

gregory.noma yep, thanks for the heads up! I closed the other as a duplicate of this ticket since the fix has already gone in.

Comment by Gregory Noma [ 17/Feb/21 ]

Is this the same issue as SERVER-53961?

Comment by Githook User [ 16/Feb/21 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-54540 Allow for network errors when restarting heartbeats to induce rollback in rollback test fixture
Branch: master
https://github.com/mongodb/mongo/commit/e5a1fe4a8ebd4cbc71c6f555ab08386d37a89736

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