Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78445

Create validateMode parameter for dbCheck

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Repl 2023-07-10

    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

      Attachments

        Activity

          People

            aiden.szeto@mongodb.com Aiden Szeto (Inactive)
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: