-
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
etcd panic #9704
Comments
Hi @ysicing thank you for the report. Is this issue reproducable? If yes can you please provide basic steps? With these steps we can isolate the issues around bolt during restore. |
@hexfusion I can't emersion this problem in production environment. Yesterday, I'm forced to restart this machine because of the load is too high. Later, it is normal to detect clusters and current nodes by etcdctl.From the monitoring data and logs, this happened too suddenly. |
Ok just curious Is etcdctl version same as etcd binary? ref: #8632 |
Of course
|
Hi, I met a similar problem yesterday. We are using embed etcd v3.2.18. After restart, the server keeps panic:
After adding some logs, I found that the
Since the meta can pass checksum verification, I guess it could be a bug of boltdb. |
@disksing Thanks for db file! We will look into this! @ysicing If you can, could you also share your data file? Or email us at [email protected] |
@disksing Hmm, cannot reproduce with that attached db file. Can you share more detailed reproducible steps? |
oops, I discovered a clue. Because we didn't pay attention to the dependent version when we switch to As for the db file, it can be opened by bbolt-v1.3.1-coreos.5, while can't be opened by bbolt-v1.3.0. That should be the reason you were not able to reproduce it. Maybe the db file is created by bbolt-v1.3.1-coreos.5 somehow. I will continue to trace the problem, and new clue will be synced with you. Thanks for your help! |
After confirmation, the db file created by bbolt-v1.3.1 cannot be successfully opened by bbolt-v1.3.0, so this should be the compatibility issue. |
Hi @ysicing i encountered the same problem , Can you tell me how you solved it?
|
ETCD Version:
Hardware configuration:
Here is the log message of etcd:
I tried to rejoin the cluster and found that I could solve this problem.But why?Can you tell me how to avoid it?
The text was updated successfully, but these errors were encountered: