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

Stale controller runtime cache can confuse the clients including UI #1951

Closed
jessesuen opened this issue May 3, 2024 · 2 comments
Closed

Comments

@jessesuen
Copy link
Contributor

jessesuen commented May 3, 2024

Description

After the UI makes a create/update/delete call, it calls List, only to find that the response doesn't reflect the change that was just made.

My theory is this is caused by a stale controller-runtime cache that doesn't reflect reality after the update.

If true, I'm not sure how to fix this, given that there can be multiple replicas of api-server, and while we may be able to ensure the cache is up to date for the replica handling the update/delete/create, we can't be sure the peer replica also has up-to-date cache.

Screenshots

Screen.Recording.2024-05-03.at.3.37.09.PM.mov

Steps to Reproduce

Play with the new Role UI

Version

v0.6.0

Logs

Paste any relevant application logs here.
@krancour
Copy link
Member

@jessesuen @rbreeze refresh my memory... did we not end up attributing this odd behavior to something else?

@jessesuen
Copy link
Contributor Author

Let's close this. I don't think I've seen this since

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

No branches or pull requests

2 participants