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

pkg/cache's reader methods should block until caches are sync'd #42

Closed
droot opened this issue Jun 15, 2018 · 5 comments
Closed

pkg/cache's reader methods should block until caches are sync'd #42

droot opened this issue Jun 15, 2018 · 5 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@droot
Copy link
Contributor

droot commented Jun 15, 2018

This should also respect the deadline semantics for the context argument.

@calind
Copy link
Contributor

calind commented Oct 2, 2018

Is there a way to wait for the client to sync it's caches? I'm experiencing data races in tests where the manager and the client.Get try to sync the caches.

@DirectXMan12
Copy link
Contributor

we should already be doing that for the cache, but yeah, there's a function to wait for the caches to sync on the Cache interface called WaitForCacheSync.

@nvachhar
Copy link

I just filed #370. I'm not sure if this is the same thing that this issue is mentioning.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 20, 2019
@DirectXMan12
Copy link
Contributor

I believe this is fixed now, as per #370.

DirectXMan12 pushed a commit that referenced this issue Jan 31, 2020
Minor improvements to example creation and config creation commands
sttts pushed a commit to sttts/controller-runtime that referenced this issue Feb 29, 2024
✨ Rebase kcp modifications onto v0.16.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

6 participants