Files
cozystack/internal
Alexey Artamonov 32ca678077 fix(postgres): give a held backup job its plugin rollout deadline back
A job that latched the barman-cloud plugin rollout and then waited for
another backup of the application, or for a restore of it, had that
wait charged to the rollout deadline. Released after more than the
deadline, it failed on the first instance that was not ready yet with
"rollout did not finish", although no rollout of its own had been
running while it waited.

The hold is now recorded in a DestinationWriteHeld condition, and its
release time restarts the rollout deadline when it is later than the
rollout's start. The instance pods are still measured against the
rollout's start: one that rolled while the job was held carries the
plugin and counts.

Assisted-by: LLM
Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>
2026-11-09 23:52:25 +03:00
..