install page: say when the host has too little swap behind the guest (R-1192 follow-up); restore record log says when a cut restore was put back; unreleased
gates / gates (push) Successful in 1m36s

This commit is contained in:
2026-10-21 22:11:16 +02:00
parent d582feb245
commit 37b79caad9
11 changed files with 78 additions and 6 deletions
+6 -2
View File
@@ -102,8 +102,12 @@ func (m *Manager) LoadRestoreRecordAfterRecovery(putBack []string) *RestoreOpRes
m.opInterrupted[rec.Stack] = res
m.opRunning = false
if m.logger != nil {
m.logger.Printf("[WARN] [backup] restore of %s (%s, started %s) was INTERRUPTED by a controller stop — recorded as failed; the household is told to run it again",
rec.Stack, rec.Op, rec.StartedAt.Format(time.RFC3339))
tail := "the household is told to run it again"
if res.PutBack {
tail = "the start-up put its data back as it was before the restore (R-1195), and the household is told so"
}
m.logger.Printf("[WARN] [backup] restore of %s (%s, started %s) was INTERRUPTED by a controller stop — recorded as failed; %s",
rec.Stack, rec.Op, rec.StartedAt.Format(time.RFC3339), tail)
}
m.persistRestoreRecordLocked()
out := res