[SERVER-61910] initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback Created: 03/Dec/21  Updated: 29/Oct/23  Resolved: 03/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.2, 5.0.6

Type: Bug Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Vishnu Kaushik
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
Participants:
Linked BF Score: 45

 Description   

The test initiate_takes_stable_checkpoint.js tries to set a failpoint right after a node has transitioned to rollback. Since connections are closed right after rolling back, this attempt to set a failpoint can fail if the connection is closed immediately before.

The attempt to set the failpoint should be in an assert.soonNoExcept. It can probably be moved to the one below it.



 Comments   
Comment by Githook User [ 09/Dec/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-61910 initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback
Branch: v5.1
https://github.com/mongodb/mongo/commit/0077e9dd94c5edcdca3d98e79b0fff98bfc526eb

Comment by Githook User [ 09/Dec/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-61910 initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback
Branch: v5.0
https://github.com/mongodb/mongo/commit/3bafd059436ed092458d517d62f95e4bfe965ba6

Comment by Githook User [ 03/Dec/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-61910 initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback
Branch: master
https://github.com/mongodb/mongo/commit/93e01aad220ee1ab5ae809acd09426da46e028d0

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