apiserver/pkg/storage/cacher
Lukasz Szaszkiewicz cea854521c cacher: prevent a potential deadlock
waitUntilWatchCacheFreshAndForceAllEvents must be called without
a read lock held otherwise the watchcache won't be able to make
progress (i.e. the watchCache.processEvent method that requries acquiring an exclusive lock)

the deadlock can happen only when the alpha watchlist feature flag is on
and the client specifically requests streaming.

Kubernetes-commit: 476e407ffd2ab393840d3f7a9fd01b71698738a3
2023-04-06 09:54:02 +02:00
..
metrics Add metrics for number of events received from etcd 2023-02-28 11:16:13 +01:00
cache_watcher.go Fix setting resource version after init events for RV=0 case 2023-03-03 13:22:13 +01:00
cache_watcher_test.go Fix setting resource version after init events for RV=0 case 2023-03-03 13:22:13 +01:00
cacher.go cacher: prevent a potential deadlock 2023-04-06 09:54:02 +02:00
cacher_whitebox_test.go cacher: prevent a potential deadlock 2023-04-06 09:54:02 +02:00
caching_object.go Remove ClusterName 2022-04-20 23:50:27 +00:00
caching_object_test.go remove unneeded references 2022-03-17 18:35:00 +00:00
ready.go Fix missed watch events 2023-03-01 12:16:40 +01:00
ready_test.go Fix deadlock in ready test 2023-03-03 14:09:32 +01:00
time_budget.go Generate and format files 2022-07-19 20:54:13 -04:00
time_budget_test.go Migrate to k8s.io/utils/clock in apiserver 2021-09-14 20:36:07 +02:00
util.go Use dynamic size watch-cache. 2020-04-12 17:22:38 +08:00
util_test.go move cacher in separate dir 2018-05-30 20:44:31 +08:00
watch_cache.go watchcache: currentCapacity acquires read lock 2023-04-07 10:16:46 +02:00
watch_cache_interval.go Generate and format files 2022-07-19 20:54:13 -04:00
watch_cache_interval_test.go cacher: watchCacheInterval to reduce lock contention 2021-12-05 23:17:00 +05:30
watch_cache_test.go migrate apiserver utiltrace usage to component-base/tracing 2022-10-20 18:15:38 +00:00