[SERVER-65484] Implement fullValidate() for column indexes. Created: 12/Apr/22  Updated: 29/Oct/23  Resolved: 03/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Colin Stolley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-71061 Ensure column index validation works Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-31, QE 2022-11-14
Participants:

 Description   

Implement structural-level validation of column indexes.



 Comments   
Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'Colin Stolley', 'email': 'colin.stolley@mongodb.com', 'username': 'ccstolley'}

Message: SERVER-65484: fullValidate() for column store.
Branch: master
https://github.com/mongodb/mongo/commit/bba07c9963683987b0afd3be99b15c90ac5fd6b9

Comment by Ian Boros [ 23/Jun/22 ]

In addition to regular collection validation, we may want to add some extra checks in debug builds. This will depend on exactly how normal collection validation works. Presumably normal validation will walk the row store, and open cursors on each column. Then for each document, generate all keys, and check that they appear in the columns as expected.

A "debug mode validation" could use all of the "leaf" columns to re-materialize the document, which will give us a little more coverage for the object re-materialization logic.

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