Repository navigation
Description
Impact
A live Restic backup requested with the default quiesce: true can time out after five minutes on a game that definitively cannot freeze saving. A flush-only adapter has the same limit even though writes continue after its checkpoint. A sufficiently large or slow backup can repeatedly fail while most of its configured Job time is still available. Helm’s defaults are five minutes for a freeze and 24 hours for the Job. Chart defaults · Backup CRD default
Evidence at master 7c71eca7
The worker chooses and persists the short deadline from the requested flag and enabled agent client before learning the agent’s response. A definite unsupported result clears the cleanup obligation. A successful flush-only checkpoint also continues without pausing saves. The token still carries the original deadline, and expiry aborts the copy. This is a source-traced path. A timed run with a real repository was not performed. Budget selection · Flush and unsupported handling · Worker authorization · Abort on expiry
Regression recipe
- Use a running server with a pod-bound agent returning an explicit unsupported response, a ready Restic worker, and
spec.quiesce: true. Repeat with an acknowledged flush-only checkpoint. - Set independent short freeze and long Job timeouts. Delay an otherwise successful copy until after the freeze limit and before the Job deadline.
- Inspect the persisted deadline, worker token, copy result and consistency condition. Use an actual supported pause and a lost pause acknowledgment as controls.
Acceptance criteria
- Both nonfreezing cases can finish within the remaining Job budget. Report the achieved raw/flush-only consistency.
- Persist a separate freeze deadline before any command that could disable saving. Retain it for confirmed and ambiguous pauses, revoke expired authorization, drain the worker and resolve save-on debt.
- Restarts and worker replacement cannot extend the original Job or freeze budget. Cover each case with a regression test that observes the issued authorization.
Merged #836 states that raw and already-stopped copies retain the full Job budget. #907 subsequently introduced the flush-only checkpoint path. #836 · #907
Activity