]> git.saurik.com Git - redis.git/log
redis.git
13 years agoMerge remote branch 'pietern/unstable-bench' into unstable
antirez [Fri, 10 Jun 2011 12:28:14 +0000 (14:28 +0200)] 
Merge remote branch 'pietern/unstable-bench' into unstable

13 years agoAvoid division by zero issues in the automatically triggered AOF rewrite feature.
antirez [Fri, 10 Jun 2011 12:25:27 +0000 (14:25 +0200)] 
Avoid division by zero issues in the automatically triggered AOF rewrite feature.

13 years agoMerge remote branch 'origin/unstable' into unstable
antirez [Fri, 10 Jun 2011 10:39:40 +0000 (12:39 +0200)] 
Merge remote branch 'origin/unstable' into unstable

13 years agoautomatic AOF rewrite first implementation. Still to be tested.
antirez [Fri, 10 Jun 2011 10:39:23 +0000 (12:39 +0200)] 
automatic AOF rewrite first implementation. Still to be tested.

13 years agoMerge pull request #57 from melo/patch-1
Salvatore Sanfilippo [Thu, 9 Jun 2011 16:50:55 +0000 (09:50 -0700)] 
Merge pull request #57 from melo/patch-1

Small fix in the installation instructions

13 years agoSmall fix in the installation instructions
Pedro Melo [Thu, 9 Jun 2011 16:14:18 +0000 (09:14 -0700)] 
Small fix in the installation instructions

13 years agoFix Makefile colors.
Hampus Wessman [Thu, 9 Jun 2011 09:17:32 +0000 (11:17 +0200)] 
Fix Makefile colors.

echo with escape sequences isn't portable. Use printf instead.

13 years agoTwo fixes for replication: Slave performs the AOF rewrite at the right point. Non...
antirez [Thu, 9 Jun 2011 13:35:07 +0000 (15:35 +0200)] 
Two fixes for replication: Slave performs the AOF rewrite at the right point. Non blocking connect also uses readable handler as with old Linux kernels like 2.6.18 on connection refused the writable even is not fired (kernel bug).

13 years agoBetter colorized Makefile implementation, inspired by git makefile
antirez [Wed, 8 Jun 2011 15:09:18 +0000 (17:09 +0200)] 
Better colorized Makefile implementation, inspired by git makefile

13 years agoMerge branch 'unstable'
antirez [Tue, 7 Jun 2011 15:01:45 +0000 (17:01 +0200)] 
Merge branch 'unstable'

13 years agoMerge remote branch 'origin/unstable' into unstable
antirez [Sun, 5 Jun 2011 18:51:49 +0000 (20:51 +0200)] 
Merge remote branch 'origin/unstable' into unstable

13 years agono more client-libraries directory
antirez [Sun, 5 Jun 2011 18:51:07 +0000 (20:51 +0200)] 
no more client-libraries directory

13 years agono more html documentation
antirez [Sun, 5 Jun 2011 18:50:22 +0000 (20:50 +0200)] 
no more html documentation

13 years agotouch less pages in decrRefCount
antirez [Thu, 2 Jun 2011 15:41:42 +0000 (17:41 +0200)] 
touch less pages in decrRefCount

13 years agoThere is no debug mode in benchmark tool
Pieter Noordhuis [Wed, 1 Jun 2011 00:38:39 +0000 (17:38 -0700)] 
There is no debug mode in benchmark tool

13 years agoProvide custom command to benchmark against via args
Pieter Noordhuis [Wed, 1 Jun 2011 00:19:11 +0000 (17:19 -0700)] 
Provide custom command to benchmark against via args

13 years agoMore const's in redis-benchmark.c
Pieter Noordhuis [Wed, 1 Jun 2011 00:15:42 +0000 (17:15 -0700)] 
More const's in redis-benchmark.c

13 years agoZREM tests
antirez [Tue, 31 May 2011 18:30:54 +0000 (20:30 +0200)] 
ZREM tests

13 years agoVariadic ZREM
antirez [Tue, 31 May 2011 18:15:18 +0000 (20:15 +0200)] 
Variadic ZREM

13 years agoFix for the variadic version of SREM. Regression test added.
antirez [Tue, 31 May 2011 18:14:29 +0000 (20:14 +0200)] 
Fix for the variadic version of SREM. Regression test added.

13 years agodisabled development test entry, tests moved in the right place
antirez [Tue, 31 May 2011 16:49:12 +0000 (18:49 +0200)] 
disabled development test entry, tests moved in the right place

13 years agoVariadic ZADD tests
antirez [Tue, 31 May 2011 16:35:09 +0000 (18:35 +0200)] 
Variadic ZADD tests

13 years agoVariadic ZADD
antirez [Tue, 31 May 2011 15:47:34 +0000 (17:47 +0200)] 
Variadic ZADD

13 years agoMake replication faster (biggest gain for small number of slaves)
Pieter Noordhuis [Mon, 30 May 2011 00:55:13 +0000 (17:55 -0700)] 
Make replication faster (biggest gain for small number of slaves)

13 years agoINFO now contains the time (in usecs) needed to fork() in order to persist. The info...
antirez [Sun, 29 May 2011 13:17:29 +0000 (15:17 +0200)] 
INFO now contains the time (in usecs) needed to fork() in order to persist. The info is available in the stats section of INFO.

13 years agoMerge remote branch 'pietern/unstable-replnonblock' into unstable
antirez [Sun, 29 May 2011 12:26:01 +0000 (14:26 +0200)] 
Merge remote branch 'pietern/unstable-replnonblock' into unstable

13 years agoredis-cli: -i (interval) implemented, to wait the specified number of seconds (decima...
antirez [Sat, 28 May 2011 13:41:08 +0000 (15:41 +0200)] 
redis-cli: -i (interval) implemented, to wait the specified number of seconds (decimal digits are allowed) between commands.

13 years agoredis-cli: Use the repetiton prefix after a reconnection.
antirez [Sat, 28 May 2011 13:25:48 +0000 (15:25 +0200)] 
redis-cli: Use the repetiton prefix after a reconnection.

13 years agoredis-cli in REPL mode is now able to send the same command multiple times, prefixing...
antirez [Sat, 28 May 2011 13:13:55 +0000 (15:13 +0200)] 
redis-cli in REPL mode is now able to send the same command multiple times, prefixing the command with a number as in "10 ping"

13 years agoredis-cli no longer aborts in repl-mode on error, and retries to reconncet with the...
antirez [Sat, 28 May 2011 13:04:12 +0000 (15:04 +0200)] 
redis-cli no longer aborts in repl-mode on error, and retries to reconncet with the server at every command issued if the state is not connected. Also the prompt shows the server we are connected to.

13 years agoMerge branch 'unstable'
antirez [Wed, 25 May 2011 10:33:25 +0000 (12:33 +0200)] 
Merge branch 'unstable'

13 years agoMake sure error and status replies emitted by Lua scripts can never have more than...
antirez [Tue, 24 May 2011 17:43:11 +0000 (19:43 +0200)] 
Make sure error and status replies emitted by Lua scripts can never have more than a newline, otherwise it is a protocol violation and clients will desync.

13 years agoScripting tests added
antirez [Tue, 24 May 2011 16:40:37 +0000 (18:40 +0200)] 
Scripting tests added

13 years agoFix for wrong error level detection in redis.log()
antirez [Mon, 16 May 2011 16:36:07 +0000 (18:36 +0200)] 
Fix for wrong error level detection in redis.log()

13 years agoAll commands exported by Redis to Lua scripts are now inside the redis table. Impleme...
antirez [Mon, 16 May 2011 16:32:03 +0000 (18:32 +0200)] 
All commands exported by Redis to Lua scripts are now inside the redis table. Implemented redis.log() function.

13 years agoEVALSHA implemented
antirez [Fri, 13 May 2011 20:02:38 +0000 (22:02 +0200)] 
EVALSHA implemented

13 years agoNow it is possible to return multi bulks of multi bulks from Lua, just returning...
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.

13 years agofor performance reasons only set the debug hook if the time limit is enabled.
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.

13 years agoLua max exec time fixes: redisLog() to log the event moved before the lua_error(...
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.

13 years agocall the Lua hook with minor frequency. It is already enough to call it every 100000...
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.

13 years agoLua scripts max execution time
antirez [Fri, 6 May 2011 15:21:27 +0000 (17:21 +0200)] 
Lua scripts max execution time

13 years agoLua memory usage in INFO
antirez [Sat, 7 May 2011 09:40:29 +0000 (11:40 +0200)] 
Lua memory usage in INFO

13 years agocall lua_gc() for incremental garbage collection. Likely there is to tune this at...
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.

13 years agoLua scripting: Honor SELECT command in both ways
antirez [Mon, 2 May 2011 22:07:41 +0000 (00:07 +0200)] 
Lua scripting: Honor SELECT command in both ways

13 years agoFixed a problem in the script engine that crashed the server if the reply was not...
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.

13 years agoStatus replies converted in a special way like errors in the Lua <-> Redis conversion...
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.

13 years agoScripting doc updated
antirez [Sun, 1 May 2011 22:44:02 +0000 (00:44 +0200)] 
Scripting doc updated

13 years agoEval command table fixed to return the keys arguments of the command. We use zunionIn...
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.

13 years agoTODO updated
antirez [Sun, 1 May 2011 22:12:37 +0000 (00:12 +0200)] 
TODO updated

13 years agoFixed nul bulk parsing in Redis protocol to Lua type convertion. Check for bad Lua...
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.

13 years agoScripting todo list updated
antirez [Sun, 1 May 2011 13:50:33 +0000 (15:50 +0200)] 
Scripting todo list updated

13 years agoMulti bulk to Lua table now working
antirez [Sun, 1 May 2011 13:48:26 +0000 (15:48 +0200)] 
Multi bulk to Lua table now working

13 years agoFixed arity detection of Redis command executed from Lua script. Error reporting...
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.

13 years agofull conversion from Lua return value to redis reply. Partial conversion from Redis...
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.

13 years agopupulate the Lua global tables KEYS and ARGV before executing the script
antirez [Sun, 1 May 2011 11:07:44 +0000 (13:07 +0200)] 
pupulate the Lua global tables KEYS and ARGV before executing the script

13 years agofunction to access to Redis command from Lua renamed from r() to redis()
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()

13 years agowhen creating not connected clients do not add them into the clients list, otherwise...
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

13 years agoCorrectly glue the reply buffer. For now returned as it is to Lua, but will be conver...
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.

13 years agoLua call of Redis command work in progress: sorry I have to go to the cinema to watch...
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

13 years agoLua function creation on EVAL, basic Lua return type to Redis protocol convertion...
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.

13 years agomakefile adapted to link against lua lib and to pass the 32bit flag to Lua building...
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

13 years agoFix for Pub/Sub system, introduced in Redis 2.2.6 with the new copy-on-write safe...
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.

13 years agoComment typo fixed
antirez [Tue, 24 May 2011 08:43:19 +0000 (10:43 +0200)] 
Comment typo fixed

13 years agoFixed typo in comment
antirez [Tue, 24 May 2011 08:35:48 +0000 (10:35 +0200)] 
Fixed typo in comment

13 years agoConfigurable synchronous I/O timeout
Pieter Noordhuis [Sun, 22 May 2011 10:57:30 +0000 (12:57 +0200)] 
Configurable synchronous I/O timeout

13 years agoMinor changes in non-blocking repl. connect
Pieter Noordhuis [Sun, 22 May 2011 10:41:24 +0000 (12:41 +0200)] 
Minor changes in non-blocking repl. connect

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Fri, 20 May 2011 09:45:05 +0000 (11:45 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoPrint version info before running the test
antirez [Fri, 20 May 2011 09:44:09 +0000 (11:44 +0200)] 
Print version info before running the test

13 years agoNon-blocking connect with master
Pieter Noordhuis [Thu, 19 May 2011 16:53:06 +0000 (18:53 +0200)] 
Non-blocking connect with master

13 years agoFix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test...
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.

13 years agoFix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test...
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.

13 years agofmacros in utils.c to avoid warning about strcasecmp()
antirez [Mon, 16 May 2011 15:20:27 +0000 (17:20 +0200)] 
fmacros in utils.c to avoid warning about strcasecmp()

13 years agoMerge branch 'unstable'
antirez [Mon, 16 May 2011 08:04:09 +0000 (10:04 +0200)] 
Merge branch 'unstable'

13 years agoFixed misuse of the new iterator semantics in ZUNIONSTORE
antirez [Sun, 15 May 2011 15:28:06 +0000 (17:28 +0200)] 
Fixed misuse of the new iterator semantics in ZUNIONSTORE

13 years agoFix for a possible bug related to ZINTER/UNIONSTORE called with the same source set...
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.

13 years agoFixed SINTER[STORE] problem related to the new copy on write safe iterator
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

13 years agoreplication with expire test modified to produce no or less false failures
antirez [Thu, 12 May 2011 18:15:13 +0000 (20:15 +0200)] 
replication with expire test modified to produce no or less false failures

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Thu, 12 May 2011 18:21:00 +0000 (20:21 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoZINTERSTORE regressiont test with two sets, intset+hashtable
antirez [Thu, 12 May 2011 18:20:25 +0000 (20:20 +0200)] 
ZINTERSTORE regressiont test with two sets, intset+hashtable

13 years agoremoved assert causing an illegal memory access. This was responsible of crashes...
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.

13 years agoMerge branch 'unstable'
antirez [Tue, 10 May 2011 12:05:59 +0000 (14:05 +0200)] 
Merge branch 'unstable'

13 years agoRDB version signature bumped to 2, now that direct saving of specially encoded types...
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.

13 years agoIntroduced a safe iterator interface that can be used to iterate while accessing...
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()

13 years agoDEBUG DIGEST additional lookup needed for VM removed from unstable branch that does...
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

13 years agoUseless statement removed
antirez [Tue, 10 May 2011 08:07:04 +0000 (10:07 +0200)] 
Useless statement removed

13 years agowhen Redis fails accepting a new connection reports the error at WARNING and not...
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

13 years agoCluster TODO updated
antirez [Fri, 6 May 2011 14:23:14 +0000 (16:23 +0200)] 
Cluster TODO updated

13 years agoclear importing/exporing state when appropriate on SETSLOT or ADDSLOTS cluster commands
antirez [Fri, 6 May 2011 14:08:10 +0000 (16:08 +0200)] 
clear importing/exporing state when appropriate on SETSLOT or ADDSLOTS cluster commands

13 years agoCLUSTER SETSLOT command and some refactoring of the cluster command
antirez [Fri, 6 May 2011 13:44:09 +0000 (15:44 +0200)] 
CLUSTER SETSLOT command and some refactoring of the cluster command

13 years agoCLUSTER DELSLOTS
antirez [Fri, 6 May 2011 11:38:27 +0000 (13:38 +0200)] 
CLUSTER DELSLOTS

13 years agoFixed semantics of CLUSTER SETSLOT, SELECT now only denied in cluster mode if selecte...
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.

13 years agoCLUSTER SETSLOT STABLE fixed
antirez [Thu, 5 May 2011 15:56:12 +0000 (17:56 +0200)] 
CLUSTER SETSLOT STABLE fixed

13 years agomissing return caused protocol desync in CLUSTER SETSLOT
antirez [Thu, 5 May 2011 15:52:19 +0000 (17:52 +0200)] 
missing return caused protocol desync in CLUSTER SETSLOT

13 years agoFixed problem in cluster redirection due to a stupid typo
antirez [Thu, 5 May 2011 15:50:14 +0000 (17:50 +0200)] 
Fixed problem in cluster redirection due to a stupid typo

13 years agoExtra tests for string2ll
Pieter Noordhuis [Wed, 27 Apr 2011 12:38:58 +0000 (14:38 +0200)] 
Extra tests for string2ll

13 years agoCheck seplen and len before malloc'ing "tokens"
Pieter Noordhuis [Wed, 27 Apr 2011 12:32:56 +0000 (14:32 +0200)] 
Check seplen and len before malloc'ing "tokens"

13 years agoCheck for \n after finding \r
Pieter Noordhuis [Wed, 27 Apr 2011 12:29:27 +0000 (14:29 +0200)] 
Check for \n after finding \r

13 years agoShow memory allocator in INFO output
Pieter Noordhuis [Wed, 27 Apr 2011 11:35:49 +0000 (13:35 +0200)] 
Show memory allocator in INFO output

13 years agoUse string2ll in ziplist code (faster)
Pieter Noordhuis [Wed, 27 Apr 2011 11:30:32 +0000 (13:30 +0200)] 
Use string2ll in ziplist code (faster)

13 years agoTests for string2ll; move isObject* to object.c
Pieter Noordhuis [Wed, 27 Apr 2011 11:24:52 +0000 (13:24 +0200)] 
Tests for string2ll; move isObject* to object.c