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

Add a mention of MGET, MSET and DEL commands to the cluster document, that behavior was changed by internal library #1291

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,10 @@ end
In a cluster mode client, you need to pass a block if you call the watch method and you need to specify an argument to the block.
Also, you should use the block argument as a receiver to call commands in the block.
Although the above restrictions are needed, this implementations is compatible with a standalone client.

## MGET, MSET and DEL
This gem allows you to use MGET, MSET and DEL specifying multiple keys without a hash tag.
Cross-slot errors are prevented by an internal dedicated implementation.
The underlying library makes the behavior possible.
(ref. [redis-cluster-client](https://github.com/redis-rb/redis-cluster-client))
That said, we recommend to use a hash tag for these commands to the better performance.
Loading