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

Startup recovery should not delete corrupt documents while rebuilding unfinished indexes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.4, 4.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2020-01-13, Execution Team 2019-12-30

      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.

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

              Created:
              Updated:
              Resolved: