Add TLA+ formal verification specs for backup and recovery
- backup.tla: models backup/restore/verify/cleanup with properties: BackupSnapshotsValid, RestoreIntegrity, VerifyIntegrity, RetentionInvariant, HistoryConsistency, BackupIdValid - recovery.tla: models WAL replay REDO/UNDO with properties: RedoCommitted, RecoveryCompleteness, WalIntegrity - Added models/backup.cfg and models/recovery.cfg with bounded constants - Updated run_all.sh to include both new specs - All 9 TLA+ specs pass TLC model checking
This commit is contained in:
@@ -34,5 +34,7 @@ run_tlc "$SCRIPT_DIR/replication.tla" "$SCRIPT_DIR/models/replication.cfg"
|
||||
run_tlc "$SCRIPT_DIR/gossip.tla" "$SCRIPT_DIR/models/gossip.cfg"
|
||||
run_tlc "$SCRIPT_DIR/deadlock.tla" "$SCRIPT_DIR/models/deadlock.cfg"
|
||||
run_tlc "$SCRIPT_DIR/sharding.tla" "$SCRIPT_DIR/models/sharding.cfg"
|
||||
run_tlc "$SCRIPT_DIR/backup.tla" "$SCRIPT_DIR/models/backup.cfg"
|
||||
run_tlc "$SCRIPT_DIR/recovery.tla" "$SCRIPT_DIR/models/recovery.cfg"
|
||||
|
||||
echo "All verification runs completed."
|
||||
|
||||
Reference in New Issue
Block a user