From badfaeb04446821e2fdff6cc5f93f2ae0587d627 Mon Sep 17 00:00:00 2001 From: Sailesh Mukil Date: Thu, 10 Jan 2019 10:53:20 -0800 Subject: [PATCH] Update notes/redis.md with new scripting commands --- notes/redis.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/notes/redis.md b/notes/redis.md index 1613a9dd2..87bceb65f 100644 --- a/notes/redis.md +++ b/notes/redis.md @@ -319,17 +319,19 @@ +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ | EVALSHA | Yes* | EVALSHA sha1 numkeys key [key ...] arg [arg ...] | +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ - | SCRIPT EXISTS | No | SCRIPT EXISTS script [script ...] | + | SCRIPT EXISTS | Yes | SCRIPT EXISTS script [script ...] | +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ - | SCRIPT FLUSH | No | SCRIPT FLUSH | + | SCRIPT FLUSH | Yes** | SCRIPT FLUSH | +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ - | SCRIPT KILL | No | SCRIPT KILL | + | SCRIPT KILL | Yes** | SCRIPT KILL | +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ | SCRIPT LOAD | Yes | SCRIPT LOAD script | +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+ * EVAL and EVALSHA support is limited to scripts that take at least 1 key. If multiple keys are used, all keys must hash to the same server. You can ensure this by using the same [hashtag](recommendation.md#hash-tags) for all keys. If you use more than 1 key, the proxy does no checking to verify that all keys hash to the same server, and the entire command is forwarded to the server that the first key hashes to + ** SCRIPT KILL and SCRIPT FLUSH will kill and flush on ALL Dynomite nodes. + ### Connection +-------------------+------------+---------------------------------------------------------------------------------------------------------------------+