[SERVER-64244] RunDBCheckInBackground should be resilient to interrupts Created: 07/Mar/22  Updated: 29/Oct/23  Resolved: 22/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.2, 6.0.0-rc0, 5.0.10, 4.4.16

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Yujin Kang Park
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-03-21, Execution Team 2022-04-04
Participants:
Linked BF Score: 42

 Description   

Similar to the problem described in SERVER-62513, the background hook sometimes gets interrupted by tests that kill sessions in the background. Allow the entire background hook to fail and restart such that interruptions to any of its queries do not cause it to fail.



 Comments   
Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-64244 Drop exceptions due to transient errors for whole runBackgroundDbCheck function
Branch: v5.0
https://github.com/mongodb/mongo/commit/e5b712f24e019326516ad4cb8b1f865825e46997

Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-64244 Drop exceptions due to transient errors for whole runBackgroundDbCheck function
Branch: v4.4
https://github.com/mongodb/mongo/commit/8107aae45548b6f3e823dea47896ba07fcced9d7

Comment by Githook User [ 06/Apr/22 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-62513 SERVER-64244 RunDBCheckInBackground should retry on Interrupt errors
Branch: v5.3
https://github.com/mongodb/mongo/commit/5aa29710a1780f13cb872f7706756d15affacb5f

Comment by Githook User [ 22/Mar/22 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-64244 Drop exceptions due to transient errors for whole runBackgroundDbCheck function
Branch: master
https://github.com/mongodb/mongo/commit/6e4acc571a0831b61fe0e2cf8d69c867e5694826

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