[SERVER-70213] Handle interruption errors due to acquiring locks when taking checkpoints Created: 04/Oct/22  Updated: 29/Oct/23  Resolved: 10/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

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

Issue Links:
Depends
Problem/Incident
is caused by SERVER-69247 Add concurrency control for taking ch... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-10-17
Participants:
Linked BF Score: 140

 Description   

We invariant that the assertion thrown during checkpointing had to be a shutdown error. But now that we take locks before taking checkpoints, we can also get interruption errors. We'll need to add the case to the invariant too.

Before that, we'll need to make sure if it's safe to relax the constraint of the invariant.



 Comments   
Comment by Githook User [ 11/Oct/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-70213 Check for specific error codes in checkpoint exception handling
Branch: master
https://github.com/mongodb/mongo/commit/849a7a6e6dc24b68f17c003495a889eb9b65408d

Comment by Githook User [ 06/Oct/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': '34732434+YuhongZhang98@users.noreply.github.com', 'username': 'YuhongZhang98'}

Message: SERVER-70213 Handle interruption errors from lock acquisitions when taking checkpoints
Branch: master
https://github.com/mongodb/mongo/commit/676110f99ed868da31a8f0f984fffc400b502040

Generated at Thu Feb 08 06:15:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.