apiserver/pkg/storage
Lukasz Szaszkiewicz 0df626818a cacher: do not popExpiredWatchers when the cacher hasn't dispatched any event
If the cacher hasn't seen any event (when lastProcessedResourceVersion is zero) and
the bookmarkTimer has ticked then we shouldn't popExpiredWatchers. This is
because the watchers wont' be re-added and will miss future bookmark events when
the cacher finally receives an event via the c.incoming chan.

Kubernetes-commit: 6db4cbfde7babfb34f5cd1059c769ec2d870f12a
2023-04-19 15:29:13 +02:00
..
cacher cacher: do not popExpiredWatchers when the cacher hasn't dispatched any event 2023-04-19 15:29:13 +02:00
errors Fix function name of IsExist err 2022-03-19 23:06:51 +08:00
etcd3 apiserver/etcd: add request and request_error metrics (#117222) 2023-04-12 22:02:45 +08:00
names grammar: replace all occurrences of "the the" with "the" 2022-09-17 22:58:01 +02:00
storagebackend Load encryption config once 2022-08-29 17:25:48 -04:00
testing Deflake TestGetListNonRecursive 2023-03-29 13:46:49 +02:00
testresource storage: isolate the test resource 2022-05-11 09:05:18 -07:00
tests staging: fix "go vet" issues 2023-02-28 21:22:40 +01:00
value [KMSv2] add tests for generate transformer 2023-03-23 16:40:16 +00:00
OWNERS apiserver/storage: add myself to the reviewers list 2022-05-12 15:40:33 -07:00
api_object_versioner.go storage: move the APIObjectVersioner definition to storage 2022-05-11 07:44:21 -07:00
api_object_versioner_test.go storage: isolate the test resource 2022-05-11 09:05:18 -07:00
continue.go add explicit typing for continue tests 2022-05-31 10:23:07 -07:00
continue_test.go add explicit typing for continue tests 2022-05-31 10:23:07 -07:00
doc.go move pkg/storage to apiserver 2017-02-01 07:33:52 -05:00
errors.go Fix function name of IsExist err 2022-03-19 23:06:51 +08:00
interfaces.go Add SendInitialEvents to storage ListOptions 2023-01-30 14:54:59 +01:00
selection_predicate.go Partition watchers by namespace/name scope 2023-02-05 18:46:19 -05:00
selection_predicate_test.go Fix staticcheck failures 2021-04-02 12:23:30 +08:00
util.go Simplify trigger functions in cacher 2019-07-04 14:21:06 +02:00
util_test.go move cacher in separate dir 2018-05-30 20:44:31 +08:00