Revision 1fdfb4292c2c31dc333b57b6a8e7b8c029efa597 authored by Benjamin Wang on 14 December 2022, 18:12:49 UTC, committed by Benjamin Wang on 14 December 2022, 18:12:49 UTC
In order to fix https://github.com/etcd-io/etcd/issues/12385, PR https://github.com/etcd-io/etcd/pull/14322 introduced a change in which the client side may retry based on the error message returned from server side. This is not good, as it's too fragile and it's also changed the protocol between client and server. Please see the discussion in https://github.com/kubernetes/kubernetes/pull/114403 Note: The issue https://github.com/etcd-io/etcd/issues/12385 only happens when auth is enabled, and client side reuse the same client to watch. So we decided to rollback the change on 3.5, reasons: 1.K8s doesn't enable auth at all. It has no any impact on K8s. 2.It's very easy for client application to workaround the issue. The client just needs to create a new client each time before watching. Signed-off-by: Benjamin Wang <wachao@vmware.com>
1 parent 127e9c0
File | Mode | Size |
---|---|---|
doc.go | -rw-r--r-- | 675 bytes |
netutil.go | -rw-r--r-- | 5.5 KB |
netutil_test.go | -rw-r--r-- | 10.4 KB |
routes.go | -rw-r--r-- | 1.1 KB |
routes_linux.go | -rw-r--r-- | 6.1 KB |
routes_linux_test.go | -rw-r--r-- | 968 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...