Repository navigation
fix(dataprotection): requeue young backups with no target pods instead of failing - #10952
Tyagiquamar wants to merge 2 commits into
Conversation
|
Auto Cherry-pick Instructions CLA Recheck Instructions |
|
/nopick |
Restricted the startup retry window to backups with an empty or New phase. Running continuous backups now retain the terminal error path when their target disappears, and Failed continuous backups still scale their backup StatefulSet to zero. Added focused regressions for both phases, including the StatefulSet cleanup assertion. Both cases failed before the guard change. Docker golang:1.25-bookworm (Go 1.25.14): gofmt check, targeted TestPrepareRequestTargetInfoTransientTargets/TestDeleteBackupFiles/TestSyncJobActions, package build, and go vet all passed. |
|
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment |
Fixes #10611. On transient target-pod resolution failure (pod not Ready yet or role label unpublished), a Backup in its first 10 minutes now returns an ErrorTypeRequeue so the controller retries instead of marking it Failed terminally. After the window expires the previous terminal error is preserved. Regression tests fail pre-fix and pass post-fix. Validation in Docker golang:1.25-bookworm: gofmt clean, go vet clean, go test ./controllers/dataprotection/ -run 'TestPrepareRequestTargetInfoTransientTargets|TestDeleteBackupFiles|TestSyncJobActions' passes.