-
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
Enhance etcdutl
to calculate hash of the data up to a given rev
#15061
Comments
any thoughts? @ptabor @serathius @spzala |
hi, I'd like to take this, is the command |
Yes, it looks good to me. Assigned to you, thx. |
I would think about a longer term perspective for the 'etcdutl' tool. I think we should eventually get rid of Let's look what we have currently from consistency perspective
And the latter command has support for:
So it seems that Now the question is whether we need: I would extend So there is no 'order of magnitude' cost change if we compute the hash, side by side to the original functionality. So I envision this as:
@ahrtr @serathius FDYT ? |
It seems a good direction to me. It doesn't make sense to have several scattered tools. It's good to have only one offline data analyzing tool
I prefer to I am not worry about etcd/etcdutl/snapshot/v3_snapshot.go Lines 142 to 167 in ff89864
|
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. |
/cc @cenkalti |
Re-open to update https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.6.md. |
Discussed during sig-etcd triage meeting. Changed to good-first-issue for someone to add missing CHANGELOG entry for 3.6. |
Hi everyone, I've updated the changelog in this pr : #18460, please do let me know if I need to make any adjustments since I'm new to this project. Thank you. |
Closing as complete. #18460 updated the CHANGELOG. |
What would you like to be added?
Currently command
etcdctl endpoint hashkv
can return the hash up to a given rev of endpoints. It requires the etcdserver is still running. But in some cases, when users raise inconsistency issue, the etcd cluster might not be running any more. So we need to support calculating the hash offline, in other words, we need to support calculating hash usingetcdutl
as well.Why is this needed?
It can improve the diagnosability / supportability
The text was updated successfully, but these errors were encountered: