[SERVER-43828] WT compact calls must take the CheckpointLock so that it is mutually exclusive with validate cmd opening cursors Created: 04/Oct/19  Updated: 29/Oct/23  Resolved: 07/Oct/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-42358 Add background collection validation ... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-07
Participants:
Linked BF Score: 24

 Description   

WT compact prompts internal WT checkpoints to be taken. The MongoDB validate cmd must not open cursors while WT compact is running, else it could end up with cursors pointing at different checkpoints and an inconsistent view of the data.



 Comments   
Comment by Githook User [ 07/Oct/19 ]

Author:

{'username': 'DiannaHohensee', 'email': 'dianna.hohensee@mongodb.com', 'name': 'Dianna Hohensee'}

Message: SERVER-43828 We must hold the CheckpointLock around calls to WT compact() because WT does checkpoint'ing during compact operations
Branch: master
https://github.com/mongodb/mongo/commit/715b58332fb92273af1e0ec2c3e7b3ae1f59b119

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