mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-18 15:54:57 +00:00
Automatic merge from submit-queue Avoid unnecessary decoding in etcd3 client Ref https://github.com/kubernetes/kubernetes/issues/33653 With the "Cacher" layer in Kubernetes, most of the watches processed by "pkg/storage/etcd3/watcher.go" have "filter = Everything()". That said, we generally don't need to decode previous value of the object (which is used only to get the value of filter of it), because we already know it will be true. This PR is basically fixing this problem. Should be merged after https://github.com/kubernetes/kubernetes/pull/34246