-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: cache does not get invalidated on resource deletion? #446
Comments
nazarewk
changed the title
bug: resource cache does not get invalidated on deletion?
bug: cache does not get invalidated on resource deletion?
Aug 16, 2022
After brief look into the code seems like the fix would be simple, but still an architectural change:
WDYT? |
TODO: try to find a place to improve/introduce "has the deletion completed?" or "is the object fresh enough after |
looks like a known issue that was only partially remedied by introducing sync wave delays: |
nazarewk
added a commit
to surgeventures/gitops-engine
that referenced
this issue
Sep 13, 2022
fixes argoproj#446 Signed-off-by: Krzysztof Nazarewski <[email protected]>
nazarewk
added a commit
to surgeventures/gitops-engine
that referenced
this issue
Sep 13, 2022
fixes argoproj#446 closes argoproj/argo-cd#10579 closes argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
nazarewk
added a commit
to surgeventures/gitops-engine
that referenced
this issue
Sep 13, 2022
- fixes argoproj#446 - closes argoproj/argo-cd#10579 - original issue argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
nazarewk
added a commit
to surgeventures/gitops-engine
that referenced
this issue
Sep 13, 2022
- fixes argoproj#446 - closes argoproj/argo-cd#10579 - original issue argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
nazarewk
added a commit
to surgeventures/gitops-engine
that referenced
this issue
Sep 14, 2022
- fixes argoproj#446 - closes argoproj/argo-cd#10579 - original issue argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
thober35
pushed a commit
to thober35/gitops-engine
that referenced
this issue
Oct 25, 2023
- fixes argoproj#446 - closes argoproj/argo-cd#10579 - original issue argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
thober35
pushed a commit
to thober35/gitops-engine
that referenced
this issue
Oct 26, 2023
- fixes argoproj#446 - closes argoproj/argo-cd#10579 - original issue argoproj/argo-cd#10077 Signed-off-by: Krzysztof Nazarewski <[email protected]>
thober35
added a commit
to thober35/gitops-engine
that referenced
this issue
Oct 26, 2023
argoproj#446) Signed-off-by: Thomas Bernhard <[email protected]>
thober35
added a commit
to thober35/gitops-engine
that referenced
this issue
Oct 26, 2023
argoproj#446) Signed-off-by: Thomas Bernhard <[email protected]>
thober35
added a commit
to thober35/gitops-engine
that referenced
this issue
Nov 6, 2023
argoproj#446) Signed-off-by: Thomas Bernhard <[email protected]>
thober35
added a commit
to thober35/gitops-engine
that referenced
this issue
Nov 6, 2023
argoproj#446) Signed-off-by: Thomas Bernhard <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TLDR: I believe that with
before-hook-creation
under heavy load our ArgoCD (2.3.3
on EKS) processes a PreSync phase asCompleted
before fully processing resource (Job
) deletion.This is a followup from argoproj/argo-cd#10077
Probably watch event arrives late or gets stuck in a queue for a while and I could not track down any cache invalidation during deletion in argo-cd or gitops-engine itself.
gitops-engine/pkg/sync/sync_context.go
Lines 1085 to 1112 in 2bc3fef
The text was updated successfully, but these errors were encountered: