Matt Stancliff fdc5dbd5b1 Cluster: Add COMMANDS command
COMMANDS returns a nested multibulk reply for each
command in the command table.  The reply for each
command contains:
  - command name
  - arity
  - array of command flags
  - start key position
  - end key position
  - key offset step
  - optional: if the keys are not deterministic and
    Redis uses an internal key evaluation function,
    the 6th field appears and is defined as a status
    reply of: REQUIRES ARGUMENT PARSING

Cluster clients need to know where the keys are in each
command to implement proper routing to cluster nodes.

Redis commands can have multiple keys, keys at offset steps, or other
issues where you can't always assume the first element after
the command name is the cluster routing key.

Using the information exposed by COMMANDS, client implementations
can have live, accurate key extraction details for all commands.

Also implements COMMANDS INFO [commands...] to return only a
specific set of commands instead of all 160+ commands live in Redis.
2014-06-27 18:37:29 +02:00
..
2012-04-13 18:05:51 -07:00
2013-01-19 11:03:19 +01:00
2014-04-22 16:15:01 +02:00
2014-04-16 15:18:57 +02:00
2014-06-09 11:43:19 +02:00
2013-06-26 15:21:55 +02:00
2013-01-19 11:03:19 +01:00
2014-06-27 18:37:29 +02:00
2014-06-27 18:37:29 +02:00
2014-01-22 09:56:35 +01:00
2013-07-16 15:43:41 +02:00
2014-06-23 12:07:55 +02:00
2013-01-19 11:03:19 +01:00
2013-07-02 12:24:08 +02:00
2011-07-06 15:22:00 +02:00
2014-06-23 16:56:18 +02:00
2013-09-03 15:15:42 +02:00