[SERVER-72487] race between QueryStageBatchedDeleteTest dbtest and Checkpointer background job Created: 03/Jan/23  Updated: 29/Oct/23  Resolved: 05/Jan/23

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

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
is related to SERVER-71498 QueryStageBatchedDeleteTest dbtest cr... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Execution Team 2023-01-09
Participants:
Linked BF Score: 166

 Description   

The QueryStageBatchedDeleteTest test fixture replaces the tick source on the global service context which is also needed by the Checkpointer thread to create operation contexts. Since each dbtest suite are run in a different process, it should be ok to avoid this race condition by disabling the checkpoint thread before overriding the global tick source.



 Comments   
Comment by Githook User [ 07/Sep/23 ]

Author:

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

Message: SERVER-72487 QueryStageBatchedDeleteTest disables checkpoint, if present, before installing tick source

(cherry picked from commit 08d881fa1dbd3df2073b953fcd72ec454e0c2c08)
Branch: v6.0
https://github.com/mongodb/mongo/commit/498bddf5fe07397c466cdefdce4841cd06638720

Comment by Githook User [ 05/Jan/23 ]

Author:

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

Message: SERVER-72487 QueryStageBatchedDeleteTest disables checkpoint, if present, before installing tick source
Branch: master
https://github.com/mongodb/mongo/commit/08d881fa1dbd3df2073b953fcd72ec454e0c2c08

Comment by Githook User [ 05/Jan/23 ]

Author:

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

Message: Revert "SERVER-72487 QueryStageBatchedDeleteTest test fixture disables checkpoint thread before installing tick source"

This reverts commit 7935fdb2a4173253487ed946d8164910707bd682.
Branch: master
https://github.com/mongodb/mongo/commit/5b878199c151a2f5079b1dc05582fdfd5a4ad3e7

Comment by Githook User [ 04/Jan/23 ]

Author:

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

Message: SERVER-72487 QueryStageBatchedDeleteTest test fixture disables checkpoint thread before installing tick source
Branch: master
https://github.com/mongodb/mongo/commit/7935fdb2a4173253487ed946d8164910707bd682

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