Summary
Generate a compliance-grade report confirming that specific records have been completely purged from all locations in a tablespace.
Implementation
Module: src/innodb/compliance.rs (extend)
Verification checklist:
- Leaf pages: No delete-marked records matching criteria
- Undo segments: No undo records referencing the target rows
- Free space: No residual byte patterns in freed page regions
- LOB chains: All LOB pages for target records freed
- Secondary indexes: No entries pointing to target rows
- Page history: Redo log shows no recent references (if available)
Report structure:
- Per-check pass/fail status
- Evidence details (page/offset for any failures)
- Overall compliance verdict: COMPLIANT / NON_COMPLIANT / INCONCLUSIVE
- Timestamp and scan parameters for audit trail
API:
pub struct DeletionVerification { verdict: Verdict, checks: Vec<VerificationCheck>, scan_time: Duration }
pub enum Verdict { Compliant, NonCompliant, Inconclusive }
pub fn verify_deletion(tablespace: &Tablespace, table: &str, criteria: &str) -> DeletionVerification;
Depends on
#175 (residue scanner), v5.0 #127/#128 (undo scanning), v5.0 #131/#132 (LOB chain)
Part of
Epic #165 (GDPR & Compliance Verification)
Summary
Generate a compliance-grade report confirming that specific records have been completely purged from all locations in a tablespace.
Implementation
Module:
src/innodb/compliance.rs(extend)Verification checklist:
Report structure:
API:
Depends on
#175 (residue scanner), v5.0 #127/#128 (undo scanning), v5.0 #131/#132 (LOB chain)
Part of
Epic #165 (GDPR & Compliance Verification)