]> git.saurik.com Git - redis.git/log
redis.git
15 years agoMerge branch 'test_vm' of git://github.com/pietern/redis
antirez [Thu, 20 May 2010 11:59:59 +0000 (13:59 +0200)] 
Merge branch 'test_vm' of git://github.com/pietern/redis

15 years agocode to enable running tests with the vm enabled
Pieter Noordhuis [Thu, 20 May 2010 11:58:58 +0000 (13:58 +0200)] 
code to enable running tests with the vm enabled

15 years agominor change to shutdown
antirez [Thu, 20 May 2010 10:53:26 +0000 (12:53 +0200)] 
minor change to shutdown

15 years agoshutdown on SIGTERM
antirez [Thu, 20 May 2010 10:50:57 +0000 (12:50 +0200)] 
shutdown on SIGTERM

15 years agoMerge http://github.com/ngmoco/redis
antirez [Thu, 20 May 2010 10:38:43 +0000 (12:38 +0200)] 
Merge http://github.com/ngmoco/redis

15 years agofix compile error on solaris
Pieter Noordhuis [Thu, 20 May 2010 10:33:33 +0000 (12:33 +0200)] 
fix compile error on solaris

15 years agoadded regression for zipmap bug
antirez [Thu, 20 May 2010 10:03:02 +0000 (12:03 +0200)] 
added regression for zipmap bug

15 years agofix lookup of keys with length larger than ZIPMAP_BIGLEN
Pieter Noordhuis [Thu, 20 May 2010 09:02:08 +0000 (11:02 +0200)] 
fix lookup of keys with length larger than ZIPMAP_BIGLEN

15 years agoTODO updated
antirez [Wed, 19 May 2010 21:02:30 +0000 (23:02 +0200)] 
TODO updated

15 years agoinitial tests for AOF (and small changes to server.tcl to support these)
Pieter Noordhuis [Wed, 19 May 2010 12:33:39 +0000 (14:33 +0200)] 
initial tests for AOF (and small changes to server.tcl to support these)

15 years agoMerge branch 'master' into integration
Pieter Noordhuis [Wed, 19 May 2010 12:53:57 +0000 (14:53 +0200)] 
Merge branch 'master' into integration

15 years agoFix for 'CONFIG SET appendonly no'
antirez [Wed, 19 May 2010 11:36:32 +0000 (13:36 +0200)] 
Fix for 'CONFIG SET appendonly no'

15 years agoIt's now possible to turn off and on the AOF via CONFIG
antirez [Wed, 19 May 2010 09:06:43 +0000 (11:06 +0200)] 
It's now possible to turn off and on the AOF via CONFIG

15 years agogit hash 00000000 in reelase.h when git is not found enabled again after some shell...
antirez [Tue, 18 May 2010 14:39:57 +0000 (16:39 +0200)] 
git hash 00000000 in reelase.h when git is not found enabled again after some shell scripting fix that is now compatible with most shells

15 years agobuild fixed when simpler shells are used to create release.h
antirez [Tue, 18 May 2010 10:17:51 +0000 (12:17 +0200)] 
build fixed when simpler shells are used to create release.h

15 years agouse git diff when generating release.h to check for dirty status
antirez [Tue, 18 May 2010 08:08:51 +0000 (10:08 +0200)] 
use git diff when generating release.h to check for dirty status

15 years agoSolaris fixes
antirez [Tue, 18 May 2010 08:05:00 +0000 (10:05 +0200)] 
Solaris fixes

15 years agohtml doc rebuild
antirez [Mon, 17 May 2010 22:39:49 +0000 (00:39 +0200)] 
html doc rebuild

15 years agobuliding of release.h moved into an external script. Avoided recompialtion of redis...
antirez [Mon, 17 May 2010 22:36:48 +0000 (00:36 +0200)] 
buliding of release.h moved into an external script. Avoided recompialtion of redis.c if git sha1 is the same as the previous one

15 years agocreate release.h in make process and add this information to INFO listing
Pieter Noordhuis [Mon, 17 May 2010 20:21:01 +0000 (22:21 +0200)] 
create release.h in make process and add this information to INFO listing

15 years agoRedis version is now 1.3.12
antirez [Sun, 16 May 2010 17:17:43 +0000 (19:17 +0200)] 
Redis version is now 1.3.12

15 years agoredis version is now 1.3.11
antirez [Sun, 16 May 2010 17:15:12 +0000 (19:15 +0200)] 
redis version is now 1.3.11

15 years agorandom refactoring and speedups
antirez [Sun, 16 May 2010 00:02:46 +0000 (02:02 +0200)] 
random refactoring and speedups

15 years agofaster INCR with very little efforts...
antirez [Sat, 15 May 2010 22:59:08 +0000 (00:59 +0200)] 
faster INCR with very little efforts...

15 years agoprint warnings in redis log when a test raises an exception (very likely to be caused...
Pieter Noordhuis [Sat, 15 May 2010 21:48:08 +0000 (23:48 +0200)] 
print warnings in redis log when a test raises an exception (very likely to be caused by something like a failed assertion)

15 years agoMerge branch 'redis-cli-fix' of http://github.com/tizoc/redis
antirez [Sat, 15 May 2010 08:40:58 +0000 (10:40 +0200)] 
Merge branch 'redis-cli-fix' of http://github.com/tizoc/redis

15 years agoadded pid info to the check memory leaks test, so that those tests don't appear to...
antirez [Fri, 14 May 2010 22:43:43 +0000 (00:43 +0200)] 
added pid info to the check memory leaks test, so that those tests don't appear to be duplicated

15 years agoMerge branch 'integration' of git://github.com/pietern/redis
antirez [Fri, 14 May 2010 22:38:16 +0000 (00:38 +0200)] 
Merge branch 'integration' of git://github.com/pietern/redis

15 years agomore endianess detection fix for SHA1
antirez [Fri, 14 May 2010 20:57:39 +0000 (22:57 +0200)] 
more endianess detection fix for SHA1

15 years agofixed a warning seen with some GCC version under Linux
antirez [Fri, 14 May 2010 20:56:06 +0000 (22:56 +0200)] 
fixed a warning seen with some GCC version under Linux

15 years agoinitial rough integration test for replication
Pieter Noordhuis [Fri, 14 May 2010 18:50:58 +0000 (20:50 +0200)] 
initial rough integration test for replication

15 years agostore entire server object on the stack instead of just the client
Pieter Noordhuis [Fri, 14 May 2010 18:50:32 +0000 (20:50 +0200)] 
store entire server object on the stack instead of just the client

15 years agoproc to retrieve values from INFO properties
Pieter Noordhuis [Fri, 14 May 2010 18:48:57 +0000 (20:48 +0200)] 
proc to retrieve values from INFO properties

15 years agoone more fix for endianess detection
antirez [Fri, 14 May 2010 17:24:01 +0000 (19:24 +0200)] 
one more fix for endianess detection

15 years agoFixed sha1.c compilation on Linux, due to endianess detection lameness
antirez [Fri, 14 May 2010 17:21:30 +0000 (19:21 +0200)] 
Fixed sha1.c compilation on Linux, due to endianess detection lameness

15 years agoZUNION,ZINTER -> ZUNIONSTORE,ZINTERSTORE
antirez [Fri, 14 May 2010 16:58:37 +0000 (18:58 +0200)] 
ZUNION,ZINTER -> ZUNIONSTORE,ZINTERSTORE

15 years agominor fixes to the new test suite, html doc updated
antirez [Fri, 14 May 2010 16:48:33 +0000 (18:48 +0200)] 
minor fixes to the new test suite, html doc updated

15 years agowait for redis-server to be settled and ready for connections
Pieter Noordhuis [Fri, 14 May 2010 16:08:53 +0000 (18:08 +0200)] 
wait for redis-server to be settled and ready for connections

15 years agofix cleaning up tmp folder
Pieter Noordhuis [Fri, 14 May 2010 16:01:39 +0000 (18:01 +0200)] 
fix cleaning up tmp folder

15 years agoupdate makefile to use the new test suite
Pieter Noordhuis [Fri, 14 May 2010 15:54:27 +0000 (17:54 +0200)] 
update makefile to use the new test suite

15 years agocheck for memory leaks before killing a server
Pieter Noordhuis [Fri, 14 May 2010 15:49:39 +0000 (17:49 +0200)] 
check for memory leaks before killing a server

15 years agoextract code to kill a server to a separate proc
Pieter Noordhuis [Fri, 14 May 2010 15:45:27 +0000 (17:45 +0200)] 
extract code to kill a server to a separate proc

15 years agostart servers on different ports to prevent conflicts
Pieter Noordhuis [Fri, 14 May 2010 15:42:07 +0000 (17:42 +0200)] 
start servers on different ports to prevent conflicts

15 years agouse DEBUG DIGEST in new test suite
Pieter Noordhuis [Fri, 14 May 2010 15:38:12 +0000 (17:38 +0200)] 
use DEBUG DIGEST in new test suite

15 years agosplit test suite into multiple files; runs redis-server in isolation
Pieter Noordhuis [Fri, 14 May 2010 15:31:11 +0000 (17:31 +0200)] 
split test suite into multiple files; runs redis-server in isolation

15 years agouse DEBUG DIGEST in the test instead of a function that was doing a similar work...
antirez [Fri, 14 May 2010 14:41:24 +0000 (16:41 +0200)] 
use DEBUG DIGEST in the test instead of a function that was doing a similar work, but in a much slower and buggy way

15 years agoDon't rely on cliReadReply being able to return on shutdown
Bruno Deferrari [Fri, 14 May 2010 14:38:09 +0000 (11:38 -0300)] 
Don't rely on cliReadReply being able to return on shutdown

15 years agoIf command is a shutdown, ignore errors on reply
Bruno Deferrari [Fri, 14 May 2010 14:04:01 +0000 (11:04 -0300)] 
If command is a shutdown, ignore errors on reply

15 years agoDEBUG DIGEST implemented, in order to improve the ability to test persistence and...
antirez [Fri, 14 May 2010 11:41:57 +0000 (13:41 +0200)] 
DEBUG DIGEST implemented, in order to improve the ability to test persistence and replication consistency

15 years agoAdd SIGTERM shutdown handling.
Ashley Martens [Thu, 13 May 2010 23:11:47 +0000 (16:11 -0700)] 
Add SIGTERM shutdown handling.

15 years agomakefile deps updated
antirez [Thu, 13 May 2010 12:30:36 +0000 (14:30 +0200)] 
makefile deps updated

15 years agoconflicts resolved
antirez [Thu, 13 May 2010 12:24:41 +0000 (14:24 +0200)] 
conflicts resolved

15 years agofeed SETEX as SET and EXPIREAT to AOF
Pieter Noordhuis [Thu, 13 May 2010 12:15:06 +0000 (14:15 +0200)] 
feed SETEX as SET and EXPIREAT to AOF

15 years agovery strong speedup in saving time performance when there are many integers in the...
antirez [Thu, 13 May 2010 11:36:42 +0000 (13:36 +0200)] 
very strong speedup in saving time performance when there are many integers in the dataset. Instead of decoding the object before to pass them to the rdbSaveObject layer we check asap if the object is integer encoded and can be written on disk as an integer.

15 years agoinclude limits.h otherwise no double precison macros
antirez [Thu, 13 May 2010 09:53:56 +0000 (11:53 +0200)] 
include limits.h otherwise no double precison macros

15 years agoexplicitly checks with ifdefs if our floating point and long long assumptions are...
antirez [Thu, 13 May 2010 08:47:06 +0000 (10:47 +0200)] 
explicitly checks with ifdefs if our floating point and long long assumptions are verified

15 years agoYet another version of the double saving code, with comments explaining what's happen...
antirez [Thu, 13 May 2010 08:28:00 +0000 (10:28 +0200)] 
Yet another version of the double saving code, with comments explaining what's happening there

15 years agoadded overflow check in the double -> long long conversion trick to avoid integer...
antirez [Wed, 12 May 2010 19:51:48 +0000 (21:51 +0200)] 
added overflow check in the double -> long long conversion trick to avoid integer overflows. I think this was not needed in practical terms, but it is safer

15 years agouse withscores when performing the dataset digest
antirez [Wed, 12 May 2010 15:22:39 +0000 (17:22 +0200)] 
use withscores when performing the dataset digest

15 years agoIf a float can be casted to a long long without rounding loss, we can use the integer...
antirez [Wed, 12 May 2010 13:07:39 +0000 (15:07 +0200)] 
If a float can be casted to a long long without rounding loss, we can use the integer conversion function to write the score on disk. This is a seriuous speedup

15 years agofixed compilation warnings in the AOF sanity check tool
antirez [Wed, 12 May 2010 09:56:12 +0000 (11:56 +0200)] 
fixed compilation warnings in the AOF sanity check tool

15 years agoMerge branch 'vm-speedup'
antirez [Wed, 12 May 2010 09:51:01 +0000 (11:51 +0200)] 
Merge branch 'vm-speedup'

15 years agofix to return error when calling INCR on a non-string type
Pieter Noordhuis [Tue, 11 May 2010 20:46:24 +0000 (22:46 +0200)] 
fix to return error when calling INCR on a non-string type

15 years agoload objects encoded from disk directly without useless conversion
antirez [Tue, 11 May 2010 14:12:22 +0000 (16:12 +0200)] 
load objects encoded from disk directly without useless conversion

15 years agofixed a problem leading to crashes, as keys can't be currently specially encoded...
antirez [Tue, 11 May 2010 12:30:56 +0000 (14:30 +0200)] 
fixed a problem leading to crashes, as keys can't be currently specially encoded, so we can't encode integers at object loading time... For now this can be fixed passing a few flags, or later can be fixed allowing encoded keys as well

15 years agolong long to string conversion speedup applied in other places as well. Still the...
antirez [Tue, 11 May 2010 12:13:53 +0000 (14:13 +0200)] 
long long to string conversion speedup applied in other places as well. Still the code has bugs, fixing right now...

15 years agohand written code to turn a long long into a string -> very big speed win
antirez [Tue, 11 May 2010 10:13:37 +0000 (12:13 +0200)] 
hand written code to turn a long long into a string -> very big speed win

15 years agoadded specialized function to compare string objects for perfect match that is optimi...
antirez [Tue, 11 May 2010 09:15:36 +0000 (11:15 +0200)] 
added specialized function to compare string objects for perfect match that is optimized for this task

15 years agobetter use of encoding inforamtion in dictEncObjKeyCompare
antirez [Tue, 11 May 2010 09:02:24 +0000 (11:02 +0200)] 
better use of encoding inforamtion in dictEncObjKeyCompare

15 years agoCONFIG now can change appendfsync policy at run time
antirez [Mon, 10 May 2010 18:56:54 +0000 (20:56 +0200)] 
CONFIG now can change appendfsync policy at run time

15 years agoCONFIG command now supports hot modification of RDB saving parameters.
antirez [Mon, 10 May 2010 16:50:55 +0000 (18:50 +0200)] 
CONFIG command now supports hot modification of RDB saving parameters.

15 years agowhile loading the rdb file don't add the key to the dictionary at all if it's already...
antirez [Mon, 10 May 2010 13:26:01 +0000 (15:26 +0200)] 
while loading the rdb file don't add the key to the dictionary at all if it's already expired, instead of removing it just after the insertion.

15 years agoMerge branch 'check-aof' of git://github.com/pietern/redis
antirez [Mon, 10 May 2010 13:09:25 +0000 (15:09 +0200)] 
Merge branch 'check-aof' of git://github.com/pietern/redis

15 years agominor changes to improve code readability
antirez [Sat, 8 May 2010 01:04:00 +0000 (03:04 +0200)] 
minor changes to improve code readability

15 years agoswap objects out directly while loading an RDB file if we detect we can't stay in...
antirez [Sat, 8 May 2010 00:38:59 +0000 (02:38 +0200)] 
swap objects out directly while loading an RDB file if we detect we can't stay in the vm max memory limits anyway

15 years agochange command names no longer used to zunion/zinter
Pieter Noordhuis [Fri, 7 May 2010 14:48:43 +0000 (16:48 +0200)] 
change command names no longer used to zunion/zinter

15 years agoDEBUG POPULATE command for fast creation of test databases
antirez [Fri, 7 May 2010 14:33:47 +0000 (16:33 +0200)] 
DEBUG POPULATE command for fast creation of test databases

15 years agoupdate TODO
Pieter Noordhuis [Fri, 7 May 2010 12:36:59 +0000 (14:36 +0200)] 
update TODO

15 years agoswap arguments in blockClientOnSwappedKeys to be consistent
Pieter Noordhuis [Fri, 7 May 2010 12:33:34 +0000 (14:33 +0200)] 
swap arguments in blockClientOnSwappedKeys to be consistent

15 years agoadded function that preloads all keys needed to execute a MULTI/EXEC block
Pieter Noordhuis [Fri, 7 May 2010 12:17:10 +0000 (14:17 +0200)] 
added function that preloads all keys needed to execute a MULTI/EXEC block

15 years agoadd sanity check to zunionInterBlockClientOnSwappedKeys, as the number of keys used...
Pieter Noordhuis [Fri, 7 May 2010 10:59:34 +0000 (12:59 +0200)] 
add sanity check to zunionInterBlockClientOnSwappedKeys, as the number of keys used is provided as argument to the function

15 years agomake prototype of custom function to preload keys from the vm match the prototype...
Pieter Noordhuis [Fri, 7 May 2010 10:58:44 +0000 (12:58 +0200)] 
make prototype of custom function to preload keys from the vm match the prototype of waitForMultipleSwappedKeys

15 years agoextract preloading of multiple keys according to the command prototype to a separate...
Pieter Noordhuis [Fri, 7 May 2010 10:45:27 +0000 (12:45 +0200)] 
extract preloading of multiple keys according to the command prototype to a separate function

15 years agomake append only filename configurable
Pieter Noordhuis [Fri, 7 May 2010 09:55:12 +0000 (11:55 +0200)] 
make append only filename configurable

15 years agodon't load value from VM for EXISTS
Pieter Noordhuis [Fri, 7 May 2010 09:40:26 +0000 (11:40 +0200)] 
don't load value from VM for EXISTS

15 years agoswap file name pid expansion removed. Not suited for mission critical software...
antirez [Fri, 7 May 2010 07:36:37 +0000 (09:36 +0200)] 
swap file name pid expansion removed. Not suited for mission critical software...

15 years agoSwap file is now locked
antirez [Fri, 7 May 2010 07:32:26 +0000 (09:32 +0200)] 
Swap file is now locked

15 years agoMerge branch 'master' into aof-speedup
antirez [Thu, 6 May 2010 21:19:46 +0000 (23:19 +0200)] 
Merge branch 'master' into aof-speedup

15 years agolog error and quit when the AOF contains an unfinished MULTI
Pieter Noordhuis [Thu, 6 May 2010 20:00:04 +0000 (22:00 +0200)] 
log error and quit when the AOF contains an unfinished MULTI

15 years agolog error and quit when the AOF contains an unfinished MULTI
Pieter Noordhuis [Thu, 6 May 2010 20:00:04 +0000 (22:00 +0200)] 
log error and quit when the AOF contains an unfinished MULTI

15 years agoMerge branch 'master' into check-aof
Pieter Noordhuis [Thu, 6 May 2010 19:06:09 +0000 (21:06 +0200)] 
Merge branch 'master' into check-aof

15 years agohincrby should report an error when called against a hash key that doesn't contain...
Pieter Noordhuis [Thu, 6 May 2010 18:35:00 +0000 (20:35 +0200)] 
hincrby should report an error when called against a hash key that doesn't contain an integer

15 years agoAOF writes are now accumulated into a buffer and flushed into disk just before re...
antirez [Thu, 6 May 2010 18:16:14 +0000 (20:16 +0200)] 
AOF writes are now accumulated into a buffer and flushed into disk just before re-entering the event loop. A lot less writes but still this guarantees that AOF is written before the client gets a positive reply about a write operation, as no reply is trasnmitted before re-entering into the event loop.

15 years agoclarified a few messages in redis.conf
antirez [Thu, 6 May 2010 16:04:51 +0000 (18:04 +0200)] 
clarified a few messages in redis.conf

15 years agoask for confirmation before AOF is truncated
Pieter Noordhuis [Wed, 5 May 2010 14:38:50 +0000 (16:38 +0200)] 
ask for confirmation before AOF is truncated

15 years agostr can be free'd outside readString
Pieter Noordhuis [Wed, 5 May 2010 12:06:55 +0000 (14:06 +0200)] 
str can be free'd outside readString

15 years agomoved argument parsing around
Pieter Noordhuis [Wed, 5 May 2010 12:02:04 +0000 (14:02 +0200)] 
moved argument parsing around

15 years agoignore redis-check-aof binary
Pieter Noordhuis [Wed, 5 May 2010 11:47:17 +0000 (13:47 +0200)] 
ignore redis-check-aof binary

15 years agoallow AOF to be fixed by truncating to the portion of the file that is valid
Pieter Noordhuis [Wed, 5 May 2010 11:46:37 +0000 (13:46 +0200)] 
allow AOF to be fixed by truncating to the portion of the file that is valid

15 years agotool to check if AOF is valid
Pieter Noordhuis [Wed, 5 May 2010 11:36:29 +0000 (13:36 +0200)] 
tool to check if AOF is valid