]> git.saurik.com Git - redis.git/log
redis.git
13 years agoDon't expire keys while loading AOF.
Hampus Wessman [Sun, 3 Jul 2011 10:18:44 +0000 (12:18 +0200)] 
Don't expire keys while loading AOF.

They will be expired (and a DEL will be logged) after the loading is done
instead.

13 years agoAdd test for incorrect expiration when loading AOF.
Hampus Wessman [Sun, 3 Jul 2011 09:04:55 +0000 (11:04 +0200)] 
Add test for incorrect expiration when loading AOF.

13 years agomore valgrind friendly test
antirez [Wed, 6 Jul 2011 13:22:00 +0000 (15:22 +0200)] 
more valgrind friendly test

13 years agoIngore jemalloc make distclean error in Makefile, caused by make clean against a...
antirez [Tue, 5 Jul 2011 11:27:21 +0000 (13:27 +0200)] 
Ingore jemalloc make distclean error in Makefile, caused by make clean against a tree that never compiled jemalloc.

13 years agoFixed typo in redis.conf related to slow log parameters
antirez [Sun, 3 Jul 2011 13:49:49 +0000 (15:49 +0200)] 
Fixed typo in redis.conf related to slow log parameters

13 years agochildrens -> children in INFO output field names. This is a backward incompatible...
antirez [Sat, 2 Jul 2011 08:51:35 +0000 (10:51 +0200)] 
childrens -> children in INFO output field names. This is a backward incompatible change, but really a minimal one.

13 years agono more allocation stats info in INFO, useless now that we have jemalloc.
antirez [Sat, 2 Jul 2011 08:25:35 +0000 (10:25 +0200)] 
no more allocation stats info in INFO, useless now that we have jemalloc.

13 years agoAdded slowlog.tcl
antirez [Fri, 1 Jul 2011 13:49:17 +0000 (15:49 +0200)] 
Added slowlog.tcl

13 years agoSLOWLOG tests
antirez [Thu, 30 Jun 2011 16:44:58 +0000 (18:44 +0200)] 
SLOWLOG tests

13 years agoAdded an unique ID field to every slow log entry.
antirez [Thu, 30 Jun 2011 15:36:15 +0000 (17:36 +0200)] 
Added an unique ID field to every slow log entry.

13 years agoMore redis.conf self-documentation. Now even queries that took exactly server.slow_lo...
antirez [Thu, 30 Jun 2011 13:54:05 +0000 (15:54 +0200)] 
More redis.conf self-documentation. Now even queries that took exactly server.slow_log_slower_than are logged, as this is not exact but is more intuitive for people, and a value of 0 will force every query to be logged.

13 years agoslow log configuration implemented
antirez [Thu, 30 Jun 2011 13:47:15 +0000 (15:47 +0200)] 
slow log configuration implemented

13 years agohiredis max multi bulk nesting level raised to 7
antirez [Thu, 30 Jun 2011 11:34:38 +0000 (13:34 +0200)] 
hiredis max multi bulk nesting level raised to 7

13 years agoDEUBG SLEEP implemented
antirez [Thu, 30 Jun 2011 11:31:44 +0000 (13:31 +0200)] 
DEUBG SLEEP implemented

13 years agoFirst implementation of the slow log feature
antirez [Thu, 30 Jun 2011 11:27:32 +0000 (13:27 +0200)] 
First implementation of the slow log feature

13 years agoPartial fix for a problem with AOF and BRPOP. We have at least a single evidence...
antirez [Wed, 29 Jun 2011 14:10:28 +0000 (16:10 +0200)] 
Partial fix for a problem with AOF and BRPOP. We have at least a single evidence of an AOF that ended with a BRPOP call against an empty list, causing later issues at run time. Now the problem is detected while loading the AOF at startup, even if it is still to understand how the corrupted AOF was generated.

13 years agocolorized test output shows scripting tests with X
antirez [Sat, 25 Jun 2011 10:42:55 +0000 (12:42 +0200)] 
colorized test output shows scripting tests with X

13 years agounstable merge conflicts resolved
antirez [Sat, 25 Jun 2011 10:29:24 +0000 (12:29 +0200)] 
unstable merge conflicts resolved

13 years agoMerge remote branch 'origin/unstable' into unstable
antirez [Sat, 25 Jun 2011 10:22:59 +0000 (12:22 +0200)] 
Merge remote branch 'origin/unstable' into unstable

13 years agodiskstore removed
antirez [Sat, 25 Jun 2011 10:22:03 +0000 (12:22 +0200)] 
diskstore removed

13 years agoMerge pull request #63 from djanowski/tcl
Salvatore Sanfilippo [Fri, 24 Jun 2011 16:59:37 +0000 (09:59 -0700)] 
Merge pull request #63 from djanowski/tcl

Add warning when `tcl` is not available to run tests

13 years agoAvoid bug reports when Tcl is not installed.
Damian Janowski [Fri, 24 Jun 2011 16:56:06 +0000 (13:56 -0300)] 
Avoid bug reports when Tcl is not installed.

13 years agoFix for bug 561 and other related problems
antirez [Mon, 20 Jun 2011 15:07:18 +0000 (17:07 +0200)] 
Fix for bug 561 and other related problems

13 years agouseless call removed, thanks to Pieter for spotting this
antirez [Tue, 14 Jun 2011 14:22:54 +0000 (16:22 +0200)] 
useless call removed, thanks to Pieter for spotting this

13 years agoSETNX regression tests.
Pieter Noordhuis [Mon, 13 Jun 2011 19:06:44 +0000 (21:06 +0200)] 
SETNX regression tests.

13 years agoDB API refactoring. The changes were designed together with Pieter Noordhuis.
antirez [Tue, 14 Jun 2011 13:34:27 +0000 (15:34 +0200)] 
DB API refactoring. The changes were designed together with Pieter Noordhuis.

13 years agoMakefile deps updated
antirez [Mon, 20 Jun 2011 09:58:54 +0000 (11:58 +0200)] 
Makefile deps updated

13 years agoIt is now possible to build with: make 32bit USE_JEMALLOC=yes
antirez [Wed, 1 Jun 2011 15:08:12 +0000 (17:08 +0200)] 
It is now possible to build with: make 32bit USE_JEMALLOC=yes

13 years agoAdded -ldl when linking against jemalloc, needed on Linux
antirez [Wed, 1 Jun 2011 15:56:50 +0000 (17:56 +0200)] 
Added -ldl when linking against jemalloc, needed on Linux

13 years agoFixed INFO implementation to use the new allocator name define
antirez [Mon, 20 Jun 2011 09:54:08 +0000 (11:54 +0200)] 
Fixed INFO implementation to use the new allocator name define

13 years agoMakefile modified to build with jemalloc
antirez [Mon, 20 Jun 2011 09:52:15 +0000 (11:52 +0200)] 
Makefile modified to build with jemalloc

13 years agoIgnore jemalloc build artifacts
Pieter Noordhuis [Tue, 17 May 2011 10:25:33 +0000 (12:25 +0200)] 
Ignore jemalloc build artifacts

13 years agoZMALLOC related stuff removed from config.h. They are now defined in zmalloc.h
antirez [Mon, 20 Jun 2011 09:35:29 +0000 (11:35 +0200)] 
ZMALLOC related stuff removed from config.h. They are now defined in zmalloc.h

13 years agoforward-ported changes in zmalloc.c/h to support jemalloc build
antirez [Mon, 20 Jun 2011 09:34:04 +0000 (11:34 +0200)] 
forward-ported changes in zmalloc.c/h to support jemalloc build

13 years agojemalloc source added
antirez [Mon, 9 May 2011 08:52:55 +0000 (10:52 +0200)] 
jemalloc source added

13 years agonew INFO filed master_link_down_since_seconds
antirez [Fri, 17 Jun 2011 14:13:22 +0000 (16:13 +0200)] 
new INFO filed master_link_down_since_seconds

13 years agoUse a safe iterator while saving the DB, since the getExpire() function will access...
antirez [Fri, 17 Jun 2011 13:40:55 +0000 (15:40 +0200)] 
Use a safe iterator while saving the DB, since the getExpire() function will access the iterating dictionary.

13 years agoUntrack and ignore Lua binary files (2)
Pierre Chapuis [Fri, 27 May 2011 14:01:29 +0000 (16:01 +0200)] 
Untrack and ignore Lua binary files (2)

13 years agoUntrack and ignore Lua binary files
Pierre Chapuis [Fri, 27 May 2011 13:27:07 +0000 (15:27 +0200)] 
Untrack and ignore Lua binary files

13 years agoUpdated to unstable
antirez [Tue, 14 Jun 2011 16:06:39 +0000 (18:06 +0200)] 
Updated to unstable

13 years agoFixed init script bug, thanks to Henrik Westphal
antirez [Tue, 14 Jun 2011 15:11:44 +0000 (17:11 +0200)] 
Fixed init script bug, thanks to Henrik Westphal

13 years agoBetter init script
antirez [Tue, 14 Jun 2011 11:48:49 +0000 (13:48 +0200)] 
Better init script

13 years agoMerge pull request #58 from hampus/fix-autorewrite
Salvatore Sanfilippo [Tue, 14 Jun 2011 08:26:42 +0000 (01:26 -0700)] 
Merge pull request #58 from hampus/fix-autorewrite

Fix automatic rewrite starting too early

13 years agoFix automatic rewrite starting too early.
Hampus Wessman [Sun, 12 Jun 2011 05:27:01 +0000 (07:27 +0200)] 
Fix automatic rewrite starting too early.

Slight adjustment in growth calculation.

13 years agodifferent message on BGREWRITEAOF when it is just scheduled and not started.
antirez [Fri, 10 Jun 2011 16:35:16 +0000 (18:35 +0200)] 
different message on BGREWRITEAOF when it is just scheduled and not started.

13 years agominor code aesthetic change
antirez [Fri, 10 Jun 2011 16:13:57 +0000 (18:13 +0200)] 
minor code aesthetic change

13 years agoMake sure an automatic rewrite only gets triggered when no other child is in execution.
antirez [Fri, 10 Jun 2011 13:15:29 +0000 (15:15 +0200)] 
Make sure an automatic rewrite only gets triggered when no other child is in execution.

13 years agoCONFIG SET/GET support for new automatic AOF rewrite parameters
antirez [Fri, 10 Jun 2011 13:14:10 +0000 (15:14 +0200)] 
CONFIG SET/GET support for new automatic AOF rewrite parameters

13 years agocorrectly set AOF base size field in server structure
antirez [Fri, 10 Jun 2011 12:56:45 +0000 (14:56 +0200)] 
correctly set AOF base size field in server structure

13 years agoAdded new INFO fields related to the new AOF auto rewrite feature
antirez [Fri, 10 Jun 2011 12:52:47 +0000 (14:52 +0200)] 
Added new INFO fields related to the new AOF auto rewrite feature

13 years agoFixed bug in AOF rewrite not working because of integer overflow
antirez [Fri, 10 Jun 2011 12:47:12 +0000 (14:47 +0200)] 
Fixed bug in AOF rewrite not working because of integer overflow

13 years agodebugging printf removed
antirez [Fri, 10 Jun 2011 12:44:06 +0000 (14:44 +0200)] 
debugging printf removed

13 years agoAOF auto rewrite percentage option parsing fixed
antirez [Fri, 10 Jun 2011 12:43:11 +0000 (14:43 +0200)] 
AOF auto rewrite percentage option parsing fixed

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