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!
- related to
-
TOOLS-1155 mongodump should produce errors when some documents can not be fetched
- Closed
-
SERVER-10997 background consistency checking (patrol reads)
- Closed
-
SERVER-980 single server durability
- Closed
-
SERVER-12058 Primary should abort if encountered problems writing to the oplog
- Closed
-
SERVER-12061 Do not silently ignore read errors when syncing a replica set node
- Closed
-
SERVER-17892 Explicitly turn checksum on for all collections/indexes in WiredTiger by default
- Closed