Skip to content

fix: Retry when artifacts are available in storage#980

Merged
stefanprodan merged 1 commit intomainfrom
fast-recovery
Oct 5, 2023
Merged

fix: Retry when artifacts are available in storage#980
stefanprodan merged 1 commit intomainfrom
fast-recovery

Conversation

@stefanprodan
Copy link
Copy Markdown
Member

After a Flux upgrade, when SC storage is wiped, SC will remove the .status.artifact from sources before it tries to fetch from upstream. Due to this change in SC behaviour, the retry logic of the artifact fetcher in KC no longer works as there is no .status.artifact.url to retry for. This PR allows for faster recovery, once the artifact is available in storage, even if the revision is the same, KC will reconcile on the spot instead of waiting for the dependency retry interval.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added bug Something isn't working backport:release/v1.1.x To be backported to release/v1.1.x labels Oct 5, 2023
@stefanprodan stefanprodan requested a review from hiddeco October 5, 2023 07:54
@stefanprodan stefanprodan merged commit 1fb27b8 into main Oct 5, 2023
@stefanprodan stefanprodan deleted the fast-recovery branch October 5, 2023 08:10
@fluxcdbot
Copy link
Copy Markdown
Member

Successfully created backport PR for release/v1.1.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:release/v1.1.x To be backported to release/v1.1.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants