Commit Graph

33 Commits

Author SHA1 Message Date
Nicolas Favre-Felix
f9ef6efc7f Add FLUSHALL to RedisArray
GitHub issue #334
2013-05-02 19:59:27 +01:00
Nicolas Favre-Felix
5660e10c62 Add FLUSHDB to RedisArray
GitHub issue #334
2013-05-02 19:57:49 +01:00
Emmanuel Merali
6d3c9990a5 Merged changes from @mobli
New select DB command to RedisArray - Added retry delay on reconnect

Added the possibility to delay each reconnection attempt, including a
random factor to prevent several or many concurrent connections from
trying to reconnect at the same time.
Added the select command to RedisArray to select a DB on every
connections in one instruction.
Also, fixed a compiler warning:
redis_array_impl.c:1115:15: warning: incompatible pointer types
assigning to 'zval **' (aka 'struct _zval_struct **') from 'zval
**(*)[2]' [-Wincompatible-pointer-types]

Conflicts:
	common.h
2013-02-22 09:35:22 -08:00
michael-grunder
889b2f2e9c RedisArray fixes
I created this branch to go through issues raised by @seansawyer regarding
RedisArray functionality.  The first commit addresses issue #205 (KEYS)
command.  More investigation is required for the two other issues raised.
2012-06-22 17:07:34 -07:00
Nicolas Favre-Felix
70371fa39d s/_specified/_instance 2011-12-13 21:37:19 +00:00
Emmanuel Merali
5bc6a4c842 Added retrieval of specific instance form Array
Added the possibility to retrieve a specific Redis instance from the
array. For instance:
$r = $ra->_specified($ra->_target($key));
2011-12-12 19:05:59 +02:00
Emmanuel Merali
2f58629e0c External key distributor
Added possibility to specify a user land key distributor function.
2011-12-11 19:19:24 +02:00
Emmanuel Merali
f0a2dc0ec3 Renamed crc32 to rcrc32
The function crc32 was not being called so I renamed it to make sure
that it's being called
2011-12-08 13:42:54 +02:00
Nicolas Favre-Felix
7781557bb1 Added missing UNWATCH.
Possibly resolves GitHub issue #86 (TBC).
2011-11-27 19:57:39 +00:00
Nicolas Favre-Felix
1ce8bcc534 Added missing DISCARD in RedisArray mode.
Also added a unit test covering this feature.
This commit fixes GitHub issue #87.
2011-11-27 19:52:03 +00:00
Nicolas Favre-Felix
ecf0e8eeb8 Fixed duplicate symbol (GitHub issue #50) 2011-09-20 19:47:26 +01:00
Nicolas Favre-Felix
732366a739 Multi/exec, per node. 2011-09-04 15:31:34 +01:00
Nicolas Favre-Felix
68abdf4282 Auto rehash keys on read miss + config.ini 2011-09-04 14:30:37 +01:00
Nicolas Favre-Felix
d6ad27bd06 Added getOption/setOption 2011-08-28 14:19:01 +01:00
Nicolas Favre-Felix
8ee787d19b Added distributed PING 2011-08-28 11:36:42 +01:00
Nicolas Favre-Felix
3564d8fb2f Refactoring 2011-08-19 13:18:59 +01:00
Nicolas Favre-Felix
4fc2387b31 Added bool index parameter to RedisArray constructor 2011-08-19 13:04:37 +01:00
Nicolas Favre-Felix
7e0fdd19d6 Set index only for write commands. 2011-08-19 11:40:41 +01:00
Nicolas Favre-Felix
737266929f __call now wrapped in MULTI/EXEC 2011-08-19 10:25:17 +01:00
Nicolas Favre-Felix
1e5ab1f7f3 Loaded second ring 2011-08-19 09:50:05 +01:00
Nicolas Favre-Felix
bedaf085bb Added DEL, + variadic DEL. 2011-08-18 17:58:09 +01:00
Nicolas Favre-Felix
4c4a2be712 Added _function(). 2011-08-18 17:32:24 +01:00
Nicolas Favre-Felix
7d7b41bfc3 Added MSET. 2011-08-18 17:28:26 +01:00
Nicolas Favre-Felix
e708d98e37 First working version of MGET. 2011-08-18 16:27:03 +01:00
Nicolas Favre-Felix
dc57c5ed80 Added info() 2011-08-18 15:34:55 +01:00
Nicolas Favre-Felix
012c062628 Added _target() method. 2011-08-18 15:05:52 +01:00
Nicolas Favre-Felix
9d05c88cc8 Added _hosts() method. 2011-08-18 14:59:04 +01:00
Nicolas Favre-Felix
fe416dd123 Added support for user-defined key extraction functions 2011-08-18 14:52:17 +01:00
Nicolas Favre-Felix
40ee8ae2bc Extract {relevant} part of the key. 2011-08-18 14:01:24 +01:00
Nicolas Favre-Felix
12313029ee Replaced RedisSock with Redis zval. 2011-08-18 13:35:57 +01:00
Nicolas Favre-Felix
a168ff0919 Linked ra to PHP RedisArray object 2011-08-18 11:51:40 +01:00
Nicolas Favre-Felix
9be9ba407f Added array constructor with multiple connections 2011-08-18 11:11:59 +01:00
Nicolas Favre-Felix
8ec96a1c5f RedisArray constructor 2011-08-18 10:35:57 +01:00