Expand description
Repair reported short-id residue while preserving unproven data.
A database the superseded repair settled is repaired only when its short-id families disagree. A versioned record distinguishes a verified clean completion, one that left residue, and a settlement whose families agree. Legacy markers are kept present so older binaries skip their superseded repair.
Re-exportsยง
use tuwunel_core::result::NotFound;๐use tuwunel_database::Database;๐use self::seen::MARKER;๐use self::seen::repair;๐use self::seen::run;๐use self::seen::settle;๐use self::seen::stamp;๐use crate::Services;๐
Modulesยง
- seen ๐
Constantsยง
- CACHE_
CLEARED ๐ - LEGACY ๐
- SUPERSEDED ๐
Functionsยง
- fix ๐
- Repairs an eligible database without making repair failures fatal to startup.
- mark_
clean ๐ - Records a fresh database without scanning its populations.
- settled_
before ๐ - Whether the superseded repair settled this database before this one ran.
- stamp_
legacy ๐ - Writes each absent legacy marker so a rollback never reruns the old repair.