Replies: 5 comments 2 replies
-
I used the bbolt command to check the page and it seems that there are indeed many buckets. ./bbolt pages /tmp/etcd/member/snap/db |
Beta Was this translation helpful? Give feedback.
-
Discussed during our bi-weekly triage meeting. @ahrtr, would you be able to help with this? We think you're the best one that could be able to help here. @Niceies, also noting that you're running an old etcd version. I suggest trying to run a newer version. |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising this discussion topic. But it is a typical negative example on how to raise issue or question.
Please elaborate what does
Please only use the official tools (i.e. etcdutl, etcdctl, bbolt etc.), do not open the binary file direclty.
Also I see something related to v3 snapshot, but you also mentioned it's single-node cluster which shouldn't send snapshot at all. Was it ever a mutti-node cluster previously? Please also try to use https://github.com/ahrtr/etcd-diagnosis to generate a report |
Beta Was this translation helpful? Give feedback.
-
Thank you for your support。
These two methods can make etcd start normally, but cannot query any content
func main() { Looking forward to help |
Beta Was this translation helpful? Give feedback.
-
Bug report criteria
What happened?
My single-node etcd cluster (k8s) lost power and the files were damaged. After restoring, I found that all the keys could not be obtained, but the key contents could be seen from the files.
Using etcdctl and bblot to check, the key cannot be obtained
What did you expect to happen?
The key in the file content can be obtained normally
How can we reproduce it (as minimally and precisely as possible)?
Occasional phenomena may be difficult to reproduce
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions