R-1251 (P1): a pending put-back blocks every start — a cut restore's copy on an unbound drive waits (a restore hold), is poured back when the drive binds before any start; a failed put-back holds the app (H2); Stop during a restore still puts back (H7). Commit only, unreleased.
gates / gates (push) Successful in 1m18s
gates / gates (push) Successful in 1m18s
This commit is contained in:
@@ -369,6 +369,9 @@ func (m *Manager) RestoreHoldForLang(stack, lang string) (bool, string) {
|
||||
if t, err := time.Parse(time.RFC3339, h.At); err == nil {
|
||||
when = t.Format("2006-01-02 15:04")
|
||||
}
|
||||
if h.Reason == settings.HoldReasonPutBackPending { // R-1251: the put-back waits for the copy's drive
|
||||
return true, util.Text(lang, "hold.putback_pending", stack)
|
||||
}
|
||||
if h.Reason == settings.HoldReasonRestoreMixed { // R-893
|
||||
return true, util.Text(lang, "note.reconstitute.held_mixed", stack, when)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user