[SERVER-37143] Retry on Interrupted errors in the background DB hash hook Created: 14/Sep/18  Updated: 29/Oct/23  Resolved: 27/Dec/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 4.1.3
Fix Version/s: 4.0.6, 4.1.7

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: tig-dataconsistency
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: STM 2018-12-31, STM 2019-01-14
Participants:
Linked BF Score: 3
Story Points: 2

 Description   

Some tests kill all active sessions, which can include the session used by the background dbhash hook. This can cause the dbhash command to return an Interrupted error.

The dbhash hook should handle it in a similar way to transient transaction errors.



 Comments   
Comment by Githook User [ 27/Dec/18 ]

Author:

{'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn'}

Message: SERVER-37143 Retry background dbHash check on Interrupted errors.

(cherry picked from commit 1b5d91ae9641c4416ef6797cdeb757cb1a424eaf)
Branch: v4.0
https://github.com/mongodb/mongo/commit/a51152ce554147363948bca58fd167184eabba99

Comment by Githook User [ 27/Dec/18 ]

Author:

{'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn'}

Message: SERVER-37143 Retry background dbHash check on Interrupted errors.
Branch: master
https://github.com/mongodb/mongo/commit/1b5d91ae9641c4416ef6797cdeb757cb1a424eaf

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