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

Documents should write checksum on write, verify checksum on read

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 2.8.0-rc0
    • Storage
    • None
    • All platforms
    • Fully Compatible

    Description

      In InnoDB, crc page checksums are written as dirty pages are flushed from the buffer pool. On read, these checksums are verified. If the checksum fails, the server crashes awaiting intervention (startup with --innodb-force-recovery=N). At least for InnoDB, the cost is very little, since it takes microseconds around an operation that takes about milliseconds. The storage cost is also minimal.

      This is very helpful in failure scenarios. Check/repair in mongodb can currently only detect meta data corruption!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              morgo Morgan Tocker
              Votes:
              17 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: