Skip to content

Commit

Permalink
Merge pull request Netflix#628 from smukil/script_notes_updates
Browse files Browse the repository at this point in the history
Update notes/redis.md with new scripting commands
  • Loading branch information
smukil authored Jan 10, 2019
2 parents f6dd085 + badfaeb commit b21516a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions notes/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

+-------------------+------------+---------------------------------------------------------------------------------------------------------------------+
Expand Down

0 comments on commit b21516a

Please sign in to comment.