-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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 Cluster with different revisions #6567
Comments
@zbindenren Can you reliably reproduce this issue? Did you use lease feature? To fix the cluster, you can remove 006 and add it back. |
@xiang90 unfortunately not. I tried as suggested:
Then I did a check:
And I again have a cluster with different revisions. Did I do something wrong? |
Do your cluster contain sensitive data? If not, can you send your data dir to me at [email protected]? |
@zbindenren kindly ping. |
@zbindenren If you cannot provide the data, can you somehow reproduce this? |
@xiang90 sorry for the late response. I created a new cluster, there is no data anymore. We ran into this state as follows:
Now I have autocompaction enabled so we probably do not run into that situation again. Thanks for your help. |
If you run the 3 steps, you can still reproduce the bad revision thing? We will give this a try. |
I remeber that revision was pretty high when I ran compaction. I didn't have the time to try to reproduce it. |
@zbindenren Thanks for the hints. I think I know the root cause. Will fix soon. |
Cluster Version: v3.04
OS: RHEL7
I run the defrag tool on our cluster and that did unfortunately timeout. Aftwerwards I got an unhealthy cluster:
If I check the revisions I see the following:
As you can see, the first (unhealthy) cluster has a different revision than the other two.
In the logs I see for that cluster a lot of:
On 006 I also see two panics:
Is it possible to fix that cluster or do I have to recreate it?
The text was updated successfully, but these errors were encountered: