]>
git.saurik.com Git - redis.git/log
antirez [Fri, 13 May 2011 20:02:38 +0000 (22:02 +0200)]
EVALSHA implemented
antirez [Fri, 13 May 2011 14:42:43 +0000 (16:42 +0200)]
Now it is possible to return multi bulks of multi bulks from Lua, just returning tables of tables. The new conversion of the Null bulk and multi bulk type is the Lua false type.
antirez [Fri, 6 May 2011 15:37:03 +0000 (17:37 +0200)]
for performance reasons only set the debug hook if the time limit is enabled.
antirez [Fri, 6 May 2011 15:30:54 +0000 (17:30 +0200)]
Lua max exec time fixes: redisLog() to log the event moved before the lua_error() call that does a long jump so never returns. Aesthetic fixes in error message.
antirez [Fri, 6 May 2011 15:25:19 +0000 (17:25 +0200)]
call the Lua hook with minor frequency. It is already enough to call it every 100000 istructions for near millisecond precision.
antirez [Fri, 6 May 2011 15:21:27 +0000 (17:21 +0200)]
Lua scripts max execution time
antirez [Sat, 7 May 2011 09:40:29 +0000 (11:40 +0200)]
Lua memory usage in INFO
antirez [Sat, 7 May 2011 09:32:37 +0000 (11:32 +0200)]
call lua_gc() for incremental garbage collection. Likely there is to tune this at some point.
antirez [Mon, 2 May 2011 22:07:41 +0000 (00:07 +0200)]
Lua scripting: Honor SELECT command in both ways
antirez [Mon, 2 May 2011 21:04:08 +0000 (23:04 +0200)]
Fixed a problem in the script engine that crashed the server if the reply was not stored just int the static buffer of the client structure.
antirez [Mon, 2 May 2011 08:08:26 +0000 (10:08 +0200)]
Status replies converted in a special way like errors in the Lua <-> Redis conversion code.
antirez [Sun, 1 May 2011 22:44:02 +0000 (00:44 +0200)]
Scripting doc updated
antirez [Sun, 1 May 2011 22:36:25 +0000 (00:36 +0200)]
Eval command table fixed to return the keys arguments of the command. We use zunionInterGetKeys() as it ZUNION/ZINTER have exactly the same semantic with a prefixed number of keys followed by key names.
antirez [Sun, 1 May 2011 22:12:37 +0000 (00:12 +0200)]
TODO updated
antirez [Sun, 1 May 2011 21:43:10 +0000 (23:43 +0200)]
Fixed nul bulk parsing in Redis protocol to Lua type convertion. Check for bad Lua types as arguements of the redis() Lua command.
antirez [Sun, 1 May 2011 13:50:33 +0000 (15:50 +0200)]
Scripting todo list updated
antirez [Sun, 1 May 2011 13:48:26 +0000 (15:48 +0200)]
Multi bulk to Lua table now working
antirez [Sun, 1 May 2011 13:26:47 +0000 (15:26 +0200)]
Fixed arity detection of Redis command executed from Lua script. Error reporting from Lua fixed. More work on the Redis reply to lua conversion code.
antirez [Sun, 1 May 2011 12:47:52 +0000 (14:47 +0200)]
full conversion from Lua return value to redis reply. Partial conversion from Redis reply to Lua type.
antirez [Sun, 1 May 2011 11:07:44 +0000 (13:07 +0200)]
pupulate the Lua global tables KEYS and ARGV before executing the script
antirez [Sun, 1 May 2011 10:49:02 +0000 (12:49 +0200)]
function to access to Redis command from Lua renamed from r() to redis()
antirez [Sun, 1 May 2011 01:27:40 +0000 (03:27 +0200)]
when creating not connected clients do not add them into the clients list, otherwise they will be subject to timeouts and other stuff
antirez [Sun, 1 May 2011 01:12:53 +0000 (03:12 +0200)]
Correctly glue the reply buffer. For now returned as it is to Lua, but will be converted into Lua native type later.
antirez [Sat, 30 Apr 2011 20:29:21 +0000 (22:29 +0200)]
Lua call of Redis command work in progress: sorry I have to go to the cinema to watch the Source Code movie
antirez [Sat, 30 Apr 2011 15:46:52 +0000 (17:46 +0200)]
Lua function creation on EVAL, basic Lua return type to Redis protocol convertion done.
antirez [Sat, 30 Apr 2011 14:15:30 +0000 (16:15 +0200)]
makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system
antirez [Wed, 25 May 2011 10:29:14 +0000 (12:29 +0200)]
Fix for Pub/Sub system, introduced in Redis 2.2.6 with the new copy-on-write safe iterator semantics. In the hope this is the last bug I introduced this way.
antirez [Tue, 24 May 2011 08:43:19 +0000 (10:43 +0200)]
Comment typo fixed
antirez [Tue, 24 May 2011 08:35:48 +0000 (10:35 +0200)]
Fixed typo in comment
Pieter Noordhuis [Sun, 22 May 2011 10:57:30 +0000 (12:57 +0200)]
Configurable synchronous I/O timeout
Pieter Noordhuis [Sun, 22 May 2011 10:41:24 +0000 (12:41 +0200)]
Minor changes in non-blocking repl. connect
antirez [Fri, 20 May 2011 09:45:05 +0000 (11:45 +0200)]
Merge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Fri, 20 May 2011 09:44:09 +0000 (11:44 +0200)]
Print version info before running the test
Pieter Noordhuis [Thu, 19 May 2011 16:53:06 +0000 (18:53 +0200)]
Non-blocking connect with master
antirez [Thu, 19 May 2011 15:58:29 +0000 (17:58 +0200)]
Fix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test added.
antirez [Thu, 19 May 2011 15:58:29 +0000 (17:58 +0200)]
Fix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test added.
antirez [Mon, 16 May 2011 15:20:27 +0000 (17:20 +0200)]
fmacros in utils.c to avoid warning about strcasecmp()
antirez [Mon, 16 May 2011 08:04:09 +0000 (10:04 +0200)]
Merge branch 'unstable'
antirez [Sun, 15 May 2011 15:28:06 +0000 (17:28 +0200)]
Fixed misuse of the new iterator semantics in ZUNIONSTORE
antirez [Sun, 15 May 2011 13:33:01 +0000 (15:33 +0200)]
Fix for a possible bug related to ZINTER/UNIONSTORE called with the same source set more than one time.
antirez [Sun, 15 May 2011 10:15:54 +0000 (12:15 +0200)]
Fixed SINTER[STORE] problem related to the new copy on write safe iterator
antirez [Thu, 12 May 2011 18:15:13 +0000 (20:15 +0200)]
replication with expire test modified to produce no or less false failures
antirez [Thu, 12 May 2011 18:21:00 +0000 (20:21 +0200)]
Merge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Thu, 12 May 2011 18:20:25 +0000 (20:20 +0200)]
ZINTERSTORE regressiont test with two sets, intset+hashtable
antirez [Wed, 11 May 2011 07:49:23 +0000 (09:49 +0200)]
removed assert causing an illegal memory access. This was responsible of crashes during BLPOP and other list blocking operations.
antirez [Tue, 10 May 2011 12:05:59 +0000 (14:05 +0200)]
Merge branch 'unstable'
antirez [Tue, 10 May 2011 09:31:37 +0000 (11:31 +0200)]
RDB version signature bumped to 2, now that direct saving of specially encoded types is implemented 2.2 instances are no longer able to read rdb files produced by 2.4 or unstable.
antirez [Tue, 10 May 2011 08:15:50 +0000 (10:15 +0200)]
Introduced a safe iterator interface that can be used to iterate while accessing the dictionary at the same time. Now the default interface is consireded unsafe and should be used only with dictNext()
antirez [Tue, 10 May 2011 08:08:01 +0000 (10:08 +0200)]
DEBUG DIGEST additional lookup needed for VM removed from unstable branch that does not have VM at all
antirez [Tue, 10 May 2011 08:07:04 +0000 (10:07 +0200)]
Useless statement removed
antirez [Sat, 7 May 2011 09:47:34 +0000 (11:47 +0200)]
when Redis fails accepting a new connection reports the error at WARNING and not VERBOSE error level. Thanks to offby1 for proposing this in the Redis mailing list. #backport-candidate
antirez [Fri, 6 May 2011 14:23:14 +0000 (16:23 +0200)]
Cluster TODO updated
antirez [Fri, 6 May 2011 14:08:10 +0000 (16:08 +0200)]
clear importing/exporing state when appropriate on SETSLOT or ADDSLOTS cluster commands
antirez [Fri, 6 May 2011 13:44:09 +0000 (15:44 +0200)]
CLUSTER SETSLOT command and some refactoring of the cluster command
antirez [Fri, 6 May 2011 11:38:27 +0000 (13:38 +0200)]
CLUSTER DELSLOTS
antirez [Thu, 5 May 2011 16:10:02 +0000 (18:10 +0200)]
Fixed semantics of CLUSTER SETSLOT, SELECT now only denied in cluster mode if selected DB is not 0 so that MIGRATE still works well.
antirez [Thu, 5 May 2011 15:56:12 +0000 (17:56 +0200)]
CLUSTER SETSLOT STABLE fixed
antirez [Thu, 5 May 2011 15:52:19 +0000 (17:52 +0200)]
missing return caused protocol desync in CLUSTER SETSLOT
antirez [Thu, 5 May 2011 15:50:14 +0000 (17:50 +0200)]
Fixed problem in cluster redirection due to a stupid typo
Pieter Noordhuis [Wed, 27 Apr 2011 12:38:58 +0000 (14:38 +0200)]
Extra tests for string2ll
Pieter Noordhuis [Wed, 27 Apr 2011 12:32:56 +0000 (14:32 +0200)]
Check seplen and len before malloc'ing "tokens"
Pieter Noordhuis [Wed, 27 Apr 2011 12:29:27 +0000 (14:29 +0200)]
Check for \n after finding \r
Pieter Noordhuis [Wed, 27 Apr 2011 11:35:49 +0000 (13:35 +0200)]
Show memory allocator in INFO output
Pieter Noordhuis [Wed, 27 Apr 2011 11:30:32 +0000 (13:30 +0200)]
Use string2ll in ziplist code (faster)
Pieter Noordhuis [Wed, 27 Apr 2011 11:24:52 +0000 (13:24 +0200)]
Tests for string2ll; move isObject* to object.c
Pieter Noordhuis [Wed, 27 Apr 2011 11:16:23 +0000 (13:16 +0200)]
Move code
Pieter Noordhuis [Tue, 19 Apr 2011 21:54:43 +0000 (23:54 +0200)]
More allocators
Pieter Noordhuis [Tue, 19 Apr 2011 21:10:45 +0000 (23:10 +0200)]
Inline sdslen and sdsavail (thanks to @bitbckt)
Pieter Noordhuis [Tue, 19 Apr 2011 21:07:36 +0000 (23:07 +0200)]
Update hiredis
Pieter Noordhuis [Mon, 18 Apr 2011 19:09:12 +0000 (21:09 +0200)]
Use custom string2ll and strchr
Pieter Noordhuis [Thu, 5 May 2011 12:55:51 +0000 (14:55 +0200)]
Fix ziplist regression and update stresser
antirez [Thu, 5 May 2011 09:13:21 +0000 (11:13 +0200)]
cluster import/export of hash slots implemented in the query redirection engine
antirez [Wed, 4 May 2011 08:30:22 +0000 (10:30 +0200)]
if /dev/urandom is not available use rand() to get a random node name
antirez [Wed, 4 May 2011 08:17:05 +0000 (10:17 +0200)]
Better pretty printed makefile output
antirez [Tue, 3 May 2011 21:32:37 +0000 (23:32 +0200)]
initial pretty printing in makefile
antirez [Wed, 4 May 2011 07:31:37 +0000 (09:31 +0200)]
CLUSTER SETSLOT implemented
antirez [Mon, 2 May 2011 17:04:33 +0000 (19:04 +0200)]
render migrating and importing slots in cluster nodes info
antirez [Sun, 1 May 2011 13:38:59 +0000 (15:38 +0200)]
Merge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Sun, 1 May 2011 13:36:47 +0000 (15:36 +0200)]
Fixed a problem with string2ll()
antirez [Fri, 29 Apr 2011 15:34:03 +0000 (17:34 +0200)]
CLUSTER subcommands to set slots in migrating or importing state. Still a work in progress...
antirez [Fri, 29 Apr 2011 14:17:58 +0000 (16:17 +0200)]
CLUSTER GETKEYSINSLOT implemented
antirez [Fri, 29 Apr 2011 12:31:18 +0000 (14:31 +0200)]
CLUSTER KEYSLOT command
antirez [Fri, 29 Apr 2011 12:18:16 +0000 (14:18 +0200)]
Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connection with its slaves
antirez [Thu, 28 Apr 2011 17:00:33 +0000 (19:00 +0200)]
take a hashslot -> keys index, will be used for cluster rehasing
Pieter Noordhuis [Fri, 22 Apr 2011 07:44:06 +0000 (09:44 +0200)]
Use correct argc/argv for cleanup when loading AOF
Pieter Noordhuis [Fri, 22 Apr 2011 07:37:28 +0000 (09:37 +0200)]
Reformat AOF tests
antirez [Thu, 21 Apr 2011 14:56:31 +0000 (16:56 +0200)]
peak fragmentation ratio removed as it is a confusing field for users and trivial to compute at hand now that there is peak memory information in INFO output
antirez [Thu, 21 Apr 2011 13:47:47 +0000 (15:47 +0200)]
CLIENT KILL implemented
antirez [Thu, 21 Apr 2011 13:38:02 +0000 (15:38 +0200)]
CLIENT LIST implemented
antirez [Thu, 21 Apr 2011 08:49:52 +0000 (10:49 +0200)]
save peak memory usage as statistic and show it in INFO. Also a new INFO field was added showing the fragmentation ratio using the peak memory info.
antirez [Wed, 20 Apr 2011 10:51:03 +0000 (12:51 +0200)]
removed check for zmalloc return NULL in createClient(). The check was misplaced, and zmalloc never returns NULL.
antirez [Tue, 19 Apr 2011 15:37:03 +0000 (17:37 +0200)]
Variadic SREM
antirez [Tue, 19 Apr 2011 15:07:55 +0000 (17:07 +0200)]
variadic HDEL with tests
antirez [Fri, 15 Apr 2011 16:28:25 +0000 (18:28 +0200)]
Variadic SADD tests
antirez [Fri, 15 Apr 2011 16:08:32 +0000 (18:08 +0200)]
variadic SADD
antirez [Fri, 15 Apr 2011 16:08:24 +0000 (18:08 +0200)]
addReplyLongLong optimized to return shared objects when the value to reply is 0 or 1
antirez [Fri, 15 Apr 2011 15:44:08 +0000 (17:44 +0200)]
version bumped to 2.9, that is, 3.0 unstable
antirez [Fri, 15 Apr 2011 14:52:07 +0000 (16:52 +0200)]
tests for variadic list push
antirez [Fri, 15 Apr 2011 14:35:54 +0000 (16:35 +0200)]
test fixed after ascii art banner modified the output of a running server
antirez [Fri, 15 Apr 2011 14:35:27 +0000 (16:35 +0200)]
variadic LPUSH/RPUSH