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

Derive Clone on HashRing type #25

Merged
merged 2 commits into from
May 18, 2024
Merged

Conversation

timvisee
Copy link
Contributor

Continuation of #20.

This derives Clone on the HashRing type.

As explained here, we'd like to have this at Qdrant for dynamic resharding where we clone and update a pair of hashrings.

This is a continuation of the above mentioned PR. I removed the test though, because it doesn't add any value to the cloning itself. I'm assuming the author needs an iter() which would not need cloning at all. But that would be something for a separate PR.

@timvisee timvisee changed the title Derive clone on HashRing type Derive Clone on HashRing type May 17, 2024
@jeromefroe jeromefroe merged commit 4010b6e into jeromefroe:master May 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants