[SERVER-43942] Track newly created indexes until they are part of a consistent WT checkpoint, and avoid background validating them Created: 10/Oct/19  Updated: 29/Oct/23  Resolved: 21/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
Problem/Incident
causes SERVER-44012 Remove tracking of newly created inde... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-21
Participants:

 Description   

MongoDB index builds use the WT bulk loader, which causes WT to checkpoint the particular index table. This causes the WT checkpoint to have an inconsistent PIT view of the all the storage data. The newly created index table will have a later PIT view than the storage wide checkpoint that we usually take periodically. The next storage wide checkpoint will make the PIT view consistent again.

This is a problem for validate with background:true because it would compare the newly checkpoint'ed index table with the checkpoint'ed collection table and other collection index tables. So validate with background:true must skip such newly created index tables until they've been checkpoint'ed at the same PIT as the rest of the storage engine.



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

Author:

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

Message: SERVER-43942 track newly created indexes until they are part of a consistent WT checkpoint, and skip them in background validation
Branch: master
https://github.com/mongodb/mongo/commit/95584cd484eb94e8a3266e23f6594338ed878b88

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