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

Documents should write checksum on write, verify checksum on read

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 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: