[SERVER-71498] QueryStageBatchedDeleteTest dbtest crashes in checkpoint thread Created: 18/Nov/22  Updated: 29/Oct/23  Resolved: 21/Nov/22

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

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

Issue Links:
Backports
Depends
Related
related to SERVER-72487 race between QueryStageBatchedDeleteT... Closed
is related to SERVER-65652 Delegate TickSourceMock creation to S... Closed
is related to SERVER-63899 Add a target batch execution time to ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2, v6.0
Sprint: Execution Team 2022-11-28
Participants:
Linked BF Score: 135

 Description   

This dbtest replaces the global TickSource before running each test case, which may cause issues for background jobs that expect a stable TickSource instance in the global service context. This describes a similar problem that was addressed in SERVER-65652. One possible solution would be to create a shared instance of the MockTickSource for all the tests in QueryStageBatchedDeleteTest to access.



 Comments   
Comment by Githook User [ 10/Aug/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71498 QueryStageBatchedDeleteTest initializes TickSourceMock once

(cherry picked from commit a5341aa27ef996912766719eae263e08b9721f4c)
(cherry picked from commit 8b1d7be7abb1b7ca8c90fc904e68392a68b4351b)
Branch: v6.0
https://github.com/mongodb/mongo/commit/471e86cf03735cb8bc3839295f0e008b81e1075c

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71498 QueryStageBatchedDeleteTest initializes TickSourceMock once

(cherry picked from commit a5341aa27ef996912766719eae263e08b9721f4c)
Branch: v6.2
https://github.com/mongodb/mongo/commit/8b1d7be7abb1b7ca8c90fc904e68392a68b4351b

Comment by Githook User [ 21/Nov/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71498 QueryStageBatchedDeleteTest initializes TickSourceMock once
Branch: master
https://github.com/mongodb/mongo/commit/a5341aa27ef996912766719eae263e08b9721f4c

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