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

Add `checkBSONConsistency` option to the validate command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-07-11, Execution Team 2022-07-25

    Description

      We will add a new option called “checkBSONConsistency” to the validate command, which will run more thorough checks on BSON documents in addition to the current validations on BSON documents. The syntax is as follows:

      {validate: collName, checkBSONConsistency: true}

      The checks will also be included in the foreground full validation mode. The new option can be specified with {full: true}, {enforceFastCount: true}, and {background: true}, but cannot be used together with {repair: true} or {metadata: true}. 

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: