Skip to content
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

api: support HashKV #222

Closed
fanminshi opened this issue Aug 23, 2017 · 0 comments
Closed

api: support HashKV #222

fanminshi opened this issue Aug 23, 2017 · 0 comments
Milestone

Comments

@fanminshi
Copy link
Member

etcd go client added a new feature called HashKV

// HashKV returns a hash of the KV state at the time of the RPC.
// If revision is zero, the hash is computed on all keys. If the revision
// is non-zero, the hash is computed on all keys at or below the given revision.
HashKV(ctx context.Context, endpoint string, rev int64) (*HashKVResponse, error)

https://github.com/coreos/etcd/blob/master/clientv3/maintenance.go#L57

jetcd should support that as well.

@xiang90 xiang90 added this to the 0.0.2 milestone Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants