diff --git a/README.md b/README.md index c6ee3c10eb..0735055820 100644 --- a/README.md +++ b/README.md @@ -862,7 +862,8 @@ Monitor object to block until a command is received. redis-py supports the EVAL, EVALSHA, and SCRIPT commands. However, there are a number of edge cases that make these commands tedious to use in real world scenarios. Therefore, redis-py exposes a Script object that -makes scripting much easier to use. +makes scripting much easier to use. (RedisClusters have limited support for +scripting.) To create a Script instance, use the register_script function on a client instance passing the Lua code as the first @@ -955,7 +956,7 @@ C 3 ### Cluster Mode -redis-py is now supports cluster mode and provides a client for +redis-py now supports cluster mode and provides a client for [Redis Cluster](). The cluster client is based on Grokzen's @@ -963,6 +964,8 @@ The cluster client is based on Grokzen's fixes, and now supersedes that library. Support for these changes is thanks to his contributions. +To learn more about Redis Cluster, see +[Redis Cluster specifications](https://redis.io/topics/cluster-spec). **Create RedisCluster:** @@ -1218,10 +1221,29 @@ according to their respective destination nodes. This means that we can not turn the pipeline commands into one transaction block, because in most cases they are split up into several smaller pipelines. - -See [Redis Cluster tutorial](https://redis.io/topics/cluster-tutorial) and -[Redis Cluster specifications](https://redis.io/topics/cluster-spec) -to learn more about Redis Cluster. +**Lua Scripting in Cluster Mode** + +Cluster mode has limited support for lua scripting. + +The following commands are supported, with caveats: +- `EVAL` and `EVALSHA`: The command is sent to the relevant node, depending on +the keys (i.e., in `EVAL "