apiserver/pkg
Madhav Jivrajani db00da87d8 cacher: Fix watch behaviour for unset RV
The original design was to honour strong consistency
semantics for when the RV is unset, i.e. serve the
watch by doing a quorum read.

However, the implementation did not match the intent,
in that, the Cacher did not distinguish between set
and unset RV. This commit rectifies that behaviour by
serving the watch from the underlying storage if the
RV is unset.

This commit subsequently also adds a test for the same.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

Kubernetes-commit: 610b67031c79c6c38964631d27dd59df357c6d2e
2023-01-16 11:10:05 +05:30
..
admission add 25s bucket 2023-02-15 10:27:56 -08:00
apis API docs: point to current docs instead of archived designs 2023-02-16 15:29:56 +08:00
audit Combine RequestAuditConfig with RequestAuditConfigWithLevel 2022-11-02 15:23:48 -07:00
authentication actually resolve the computations for buckets for static analysis 2022-10-13 13:44:51 -07:00
authorization Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
cel avoid deepcopying schemas. 2023-02-07 18:03:58 -08:00
endpoints API docs: point to current docs instead of archived designs 2023-02-16 15:29:56 +08:00
features Graduate field validation to GA 2023-01-23 18:30:33 +00:00
quota/v1 go1.19: change some atomic.Value to atomic.Bool 2022-09-06 17:13:44 +08:00
registry Add singular name for the rest of types 2022-11-03 10:18:45 +03:00
server kmsv2: add metrics 2023-01-29 22:40:18 -08:00
storage cacher: Fix watch behaviour for unset RV 2023-01-16 11:10:05 +05:30
storageversion go1.19: change some atomic.Value to atomic.Bool 2022-09-06 17:13:44 +08:00
util refine code 2023-02-14 15:10:54 +08:00
warning track legacy service account tokens 2022-03-21 14:21:41 -07:00