Skip to content
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

Fix read cache by delegating to uncached client #4748

Closed
wants to merge 1 commit into from

Conversation

honnix
Copy link
Member

@honnix honnix commented Jan 19, 2024

Tracking issue

Why are the changes needed?

This PR tries to solve a problem in #4733 where cache lookup would be delegated forever in case of a cache miss.

Note that this PR does not try to address the missing writethrough cache which got removed by #4199. If that feature is still needed, we should bring it back (tried that in honnix#2).

What changes were proposed in this pull request?

Use an uncached client as a fallback to avoid endless cache lookup.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (2866d5a) 58.18% compared to head (77a16fb) 58.18%.

Files Patch % Lines
flytepropeller/pkg/controller/executors/kube.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4748   +/-   ##
=======================================
  Coverage   58.18%   58.18%           
=======================================
  Files         626      626           
  Lines       53833    53830    -3     
=======================================
  Hits        31322    31322           
+ Misses      20003    20000    -3     
  Partials     2508     2508           
Flag Coverage Δ
unittests 58.18% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@honnix
Copy link
Member Author

honnix commented Jan 22, 2024

Closing in favour of #4752

@honnix honnix closed this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant