Skip to content

Commit 6afa62b

Browse files
authored
Merge pull request #1291 from supercaracal/fix-docs-for-cluster
Add a mention of MGET, MSET and DEL commands to the cluster document, that behavior was changed by internal library
2 parents a6d8d6a + d6b16ee commit 6afa62b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: cluster/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,10 @@ end
9999
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.
100100
Also, you should use the block argument as a receiver to call commands in the block.
101101
Although the above restrictions are needed, this implementations is compatible with a standalone client.
102+
103+
## MGET, MSET and DEL
104+
This gem allows you to use MGET, MSET and DEL specifying multiple keys without a hash tag.
105+
Cross-slot errors are prevented by an internal dedicated implementation.
106+
The underlying library makes the behavior possible.
107+
(ref. [redis-cluster-client](https://github.com/redis-rb/redis-cluster-client))
108+
That said, we recommend to use a hash tag for these commands to the better performance.

0 commit comments

Comments
 (0)