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

Validate repair mode should delete records that fail BSON validation

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.7.0
    • None
    • None
    • Fully Compatible
    • Execution Team 2020-07-13, Execution Team 2020-07-27

    Description

      In validate repair mode, documents that fail BSON validation should be deleted.

      Note that startup --repair currently deletes corrupt records when performing a collection scan to rebuild indexes. This ticket would move this logic inside validate during repair mode.

      Attachments

        Issue Links

          Activity

            People

              shinyee.tan@mongodb.com Shin Yee Tan
              louis.williams@mongodb.com Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: