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

Startup recovery should not delete corrupt documents while rebuilding unfinished indexes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.4, 4.3.3
    • 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

        Issue Links

          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: