Berildocs GitHub

Memory cards

Corruption is detected by checksums and repaired from a copy

confidence: mediumupdated: 2026-11-25status: activedatabasecorruptionchecksum

Claim#

A page checksum failure marks the page. The repair source is a replica, a backup or a WAL replay.

Test#

Corrupt a page file. Read the table. Check the error and the repair.

Proof#

A detected page and a repaired row.

Failure modes#

A full-page write without checksums hides a torn page. A repair from a corrupt replica spreads it.