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

Test that startup --repair deletes corrupt records

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Execution Team 2020-07-27, Execution Team 2020-08-10, Execution Team 2020-08-24

      Startup --repair calls validate repair mode where documents that fail BSON validation are deleted. We need a jstest to check that --repair behaves correctly by deleting corrupt BSON records.

      The existing code to delete corrupt BSON records during index rebuilds should be obsolete and can be deleted.

      The existing code to delete corrupt BSON records during index rebuilds is still necessary for the case where collection files were salvaged and we rebuild indexes unconditionally.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: