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
gates / gates (push) Successful in 1m36s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user