-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Panics when "restore compact", post "recovered store from snapshot" #13456
Comments
Please provide the complete etcd log. |
Would you mind to share the db file if possible? Can you see the duplicated key when running the program on your db file? |
Our customers reset their etcd when this happens as they are production environments. Unfortunately, we don't have a db file to share, but the original poster in #7011 provided a file. I'll see what we can do, but extremely rare that it happens. |
I indeed see the duplicated key issue using the db file provided in #7011, but the db file is from about 5 years ago, so it's too old. The reason of this issue should be that the db file is corrupted somehow, so it might be an issue of bolt instead of etcd. I fixed a similar issue previously, see 13406, but it's more serious than this one, because etcd can't even get started. |
Could you clarify what does "reset" mean?
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Previous ticket: #7011
ETCD version: 3.4.16
We see two different types of failures when it goes to "restore compact". This cripples etcd and is a serious problem for many of our users.
I noticed that boltdb/bolt#632 was opened, but the repo was archived and seems to have been moved to https://github.com/etcd-io/bbolt/issues, yet not the issue...
Issues are a great way to keep track of others and this wouldn't have been forgotten about if it hadn't been originally closed. I'm opening this back up to keep track of etcd-io/bbolt#299
The text was updated successfully, but these errors were encountered: