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

adds copy and dump/restore methods #874

Merged
merged 4 commits into from
May 31, 2024

Conversation

yisraelU
Copy link
Collaborator

@yisraelU yisraelU commented May 17, 2024

this will close #862
Caveat is, copy is a multi-key command, and when connecting to a Cluster it will throw a CROSSSLOT error if the keys are resolved to different hashslots. This is by design and enforced by Redis. The expectation is, it is up to the user to take care when calling this method.
Possible modification for the future is to return F[Either[CrossSlotError,A]] to be explicit about the possibility of error in the return type

@yisraelU yisraelU merged commit 8487250 into profunktor:series/1.x May 31, 2024
2 checks passed
@yisraelU yisraelU deleted the KeyAdditions branch May 31, 2024 03:32
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.

Expose COPY method
1 participant