diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-16 04:13:54 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:02:03 +0300 |
commit | e4bab084b630100658070ddc830fda8852679ca8 (patch) | |
tree | 4846625b8b2c81373392f99831973e2c72308910 /redis_cluster.h | |
parent | e31f3aa1cb31b0c1b5817a65f26ea75b49ce16cc (diff) |
MGET
Initial commit of logic for the MGET command, which will distribute
the commands across nodes in the cluster, based on how the slots hash.
The response for MGET in cluster differs from Redis proper in a couple
of ways.
1) Except for a critical failure (e.g. being unable to write the
command *anywhere*, or internal PHP HashTable malfunctions,
the client will always get an array back, even on within the
processing.
2) This array will correspond 1-1 with the keys requested, so that
the client can use the keys passed in array as a sentinel for
the responses.
3) When NO key is found, the resulting value will be NULL, whereas
in the event of an error it will be FALSE.
Diffstat (limited to 'redis_cluster.h')
0 files changed, 0 insertions, 0 deletions