-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcd revision occurs Inconsistent #13654
Comments
Any reason why you setup etcd cluster of 3.5.0 for K8s 1.20? Note that K8s 1.20 is supposed to work with etcd 3.4.13, see go.mod#L447. There is a similar issue 13547. Can you always see this issue when running K8s 1.12 together with etcd 3.5.0? |
@didihongsheng One idea is that you run Etcd instances with slightly different apply logic. This could be caused by incorrectly doing cluster upgrade. Could you specify if this cluster was created in version v3.5.0 or it was upgraded? What versions you run before this? Did you have any problems during upgrade? |
this issue only appear once when the k8s's control plane crash ,then I remove the problematic member and delete its datadir ,and member add it back |
the version before 3.5 is 3.3,we update 3.3 to 3.4, then 3.4 to 3.5, I didn't meet with problems . |
Data corruption issue was found in v3.5.[0-2] release. Please upgrade to v3.5.3. |
etcd version : 3.5.0
k8s version : 1.20
we are in production environment, the k8s log shown below, it shows the revision has a problem :
so we check endpoints status in etcd cluster, as shown below:
etcd raft index seems healthy, but revision is inconsistent, one node is too far behind. I know the revision is maintained in mvcc , but in normal case , if etcd raft index is heathy in cluster ,revision should not occurs like this, I don't known the reason.
The text was updated successfully, but these errors were encountered: