[SERVER-78445] Create validateMode parameter for dbCheck Created: 26/Jun/23  Updated: 29/Oct/23  Resolved: 30/Jun/23

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

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Aiden Szeto (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-78443 Add validateMode parameter to dbCheck Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-07-10
Participants:

 Description   

Add a new dbCheck parameter called validateMode. This parameter will be required when the feature flag is enabled, but should be marked as optional for now.

This parameter determines which consistency checks that dbCheck will run. The three possible values are:

  • dataConsistency: Runs the existing data consistency checks between nodes of a replica set. This is intended for cases where running secondary index checks is too expensive, and we want to just test data consistency between nodes in a replica set
  • dataConsistencyAndMissingIndexKeysCheck: Runs the existing data consistency checks between nodes of a replica set. Also verifies that there are no missing index keys in all index tables
  • extraIndexKeysCheck: Verifies that there are no extra index keys in the index table


 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Aiden Szeto', 'email': 'aiden.szeto@mongodb.com', 'username': 'aidenszeto'}

Message: SERVER-78445 Create validateMode parameter for dbCheck
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/030ae2ea93afc853d9308cccba9f878d29ce0bbb

Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Aiden Szeto', 'email': 'aiden.szeto@mongodb.com', 'username': 'aidenszeto'}

Message: SERVER-78445 Create validateMode parameter for dbCheck
Branch: master
https://github.com/mongodb/mongo/commit/030ae2ea93afc853d9308cccba9f878d29ce0bbb

Comment by Aiden Szeto (Inactive) [ 28/Jun/23 ]

To preserve existing dbCheck jstests, the parameter will not be required to be specified by the user when the feature flag is enabled. Instead, it defaults to dataConsistency.

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