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

Create validateMode parameter for dbCheck

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2023-07-10

      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

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

              Created:
              Updated:
              Resolved: