Fix A, the page too: the restore's first verdict needs a stable 45 s after the 90 s health wait on every path, so an app that runs, crashes and restarts reads „not started yet”; the copy still waits the full 3 minutes. Red-proved. Commit only.
gates / gates (push) Successful in 1m30s
gates / gates (push) Successful in 1m30s
This commit is contained in:
@@ -584,7 +584,7 @@ func (m *Manager) RestoreFromRecoveryUnitAtWith(stackName, unitDir string, opt U
|
||||
m.clearUpdateHoldAfterRestore(stackName)
|
||||
// R-1270: the verdict follows the app. A health timeout is NOT a success (it used to be a WARN, and the page said
|
||||
// „az alkalmazás újraindult" over an app that never came up); the data stays restored and the undo copy is kept.
|
||||
if err := m.waitForHealthy(stackName, healthTimeout); err != nil {
|
||||
if err := m.restoredAppStarted(stackName); err != nil {
|
||||
return res, m.restoreNotStarted(stackName, "unit restore", err, undo)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user