[SERVER-61203] Add record metadata and history in validate output when corruption is detected Created: 02/Nov/21  Updated: 29/Oct/23  Resolved: 01/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.0.16

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: validation-logging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on WT-8333 Implement version cursor Closed
is depended on by SERVER-74642 Log additional information about the ... Closed
Related
related to SERVER-80553 Log record metadata and history in db... Backlog
is related to SERVER-66012 Use a WiredTiger version cursor to pr... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4
Sprint: Execution Team 2021-11-29, Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07
Participants:

 Description   

WT-8333 will create a new API to return record metadata and history. We'll need to modify the validate command to use this new functionality. This will be helpful when investigating data corruption bugs reported by the validate command.

For example, if a document is missing an index entry, we can add the metadata and history for that document. Vice-versa, if there's an extra index entry, we can add the metadata and history for that index entry.



 Comments   
Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61203 Use the WiredTiger version cursor to print the collection records metadata when corruption is detected during validation

(cherry picked from commit a18228593a8e86f037e102a5e5f61dae68c1583e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/2833b2f7d4c152e57a024fc53cdff7d249bcac04

Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61203 Implement the WiredTiger version cursor in the record store

(cherry picked from commit 5d4891f796acae59b5126cdee56c99814a0b13b8)
Branch: v5.0
https://github.com/mongodb/mongo/commit/e6db0a482a0bc207d80599a57d752ee279a1d9d5

Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61203 Use the WiredTiger version cursor to print the collection records metadata when corruption is detected during validation
Branch: master
https://github.com/mongodb/mongo/commit/a18228593a8e86f037e102a5e5f61dae68c1583e

Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61203 Implement the WiredTiger version cursor in the record store
Branch: master
https://github.com/mongodb/mongo/commit/5d4891f796acae59b5126cdee56c99814a0b13b8

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