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

Add `checkBSONConsistency` option to the validate command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-07-11, Execution Team 2022-07-25

      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}. 

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

              Created:
              Updated:
              Resolved: