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

Ability to "mark" blocks as corrupt

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage, WiredTiger
    • None
    • Storage Execution

      We've encountered multiple instances of block corruption (not our fault) where the mongod refuses to start. It would be nice to be able to "mark" a block as corrupt and have some tooling available to us to "manually" bring just the corrupt block in either via file copy or some other means. If it's an index block, it would be nice to be able to simply tell mongod to kill the index and rebuild it. Either way, it would be nice to have an alternative to "nuking" the entire database and performing a full resync for a (presumably) single corrupt block.

      Edit:
      A customer just experienced an issue on a QA DB where they encountered a checksum error. It would have been nice to be able to bring the database up by having it ignore the "bad" block. Right now, they are in the process of running a repairDatabase.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            shakir.sadikali@mongodb.com Shakir Sadikali
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: