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

Startup recovery should not delete corrupt documents while rebuilding unfinished indexes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.4, 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2020-01-13, Execution Team 2019-12-30

    Description

      The --repair code deletes documents that it finds as corrupt. This code is shared with startup recovery when we rebuild unfinished indexes.

      We should not delete corrupt document unless we are actively in --repair. We should fassert and crash immediately.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: