Age | Commit message (Collapse) | Author |
|
Added support for the DUMP command and created a Cluster based
RAW bulk handler. Thinking we should do like MULTI BULK and
create a generic handler, with various callbacks for encoding
|
|
|
|
|
|
|
|
Implemented TTL and PTTL for both cluster and redis proper
|
|
|
|
o
|
|
Implemented LPUSHX and RPUSHX in our new generic way for both
Redis and RedisCluster classes.
|
|
|
|
Implemented LPOP, RPOP, and SPOP commands.
Some formating fixes in library.c
|
|
We need to figure out how the KEYS command should work in the
context of cluster. We could either send it to all nodes, or
send it to just one slot.
Added TYPE command and cluster response processor
|
|
|
|
80 chars is the future. :)
|
|
Implemented SETNX and GETSET in a generic way for both Redis and
RedisCluster objects.
|
|
Abstracted SETEX/PSETEX argument parsing and added it to RedisCluster.
|
|
Updated our command processing macros as well as changed
the allocation method used for our "flags" RedisSock
pointer to use ecalloc, rather than emalloc, so we didn't
get random segfaults. :)
|
|
Given that we're formalizing command builing functions such that they
are always in the form redis_cmdname_cmd, and that our response
processing functions always take the same arguments, our PHP_METHOD
bodies can be very generic.
|
|
Redis Cluster instance, as well as formalized a generic
macro we will use for any return type.
Further work to be done creating the response parsing generics
and then later in combining them with standard phpredis response
parsing.
|
|
|
|
This is an initial commmit which adds a RedisCluster class as well
as the framework around which we'll be building proper cluster
support.
The first commit just contains the code to set up and use our new
RedisCluster class as well as parsing logic to handline CLUSTER NODES
such that we can map the keyspace.
Next up, command processing and then pipelining in a sane way.
|