node-engine: at a start a hold for differing parts or a missing entry is judged again, not kept as a failed backup waiting for an answer (§524, §421, ADR 0568 §4)

This commit is contained in:
2026-11-16 01:04:07 +01:00
parent 5a3510b115
commit c025bb5f1e
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1530,7 +1530,7 @@ func (a *Agent) baseline(ctx context.Context, module string, w wantNow, comp com
a.mu.Unlock()
return false
}
if h.Phase == string(nodeengineclient.PhaseHeld) {
if h.Phase == string(nodeengineclient.PhaseHeld) && !judgedAgain(h.Detail) {
// Held for a failed backup, and the operator's answer is still to come: the hold is kept, nothing is
// backed up again or applied, and the next revision of the want is the answer (ADR 0568 §4). Said, so
// why it holds is read from the journal and not guessed (issue 1585: this branch was silent).