]>
git.saurik.com Git - redis.git/log
antirez [Tue, 6 Jul 2010 15:24:00 +0000 (17:24 +0200)]
First implementation of a replication consistency test
Pieter Noordhuis [Mon, 5 Jul 2010 19:16:33 +0000 (15:16 -0400)]
merged code from
184d74ab ,
4774a53b ,
f483ce5f to new file structure
antirez [Mon, 5 Jul 2010 18:37:20 +0000 (20:37 +0200)]
INSTALL file added BETATESTING.txt removed
antirez [Mon, 5 Jul 2010 18:14:48 +0000 (20:14 +0200)]
Fixed compilation on *BSD systems
antirez [Mon, 5 Jul 2010 18:06:54 +0000 (20:06 +0200)]
Fixed a crash loading the AOF file containing MULTI/EXEC, a result of WATCH implementation. Test needed...
antirez [Mon, 5 Jul 2010 17:38:12 +0000 (19:38 +0200)]
WATCH will now consider touched keys target of EXPIRE command after the WATCH is performed, but not before
Pieter Noordhuis [Fri, 2 Jul 2010 18:42:20 +0000 (20:42 +0200)]
fix aof and digest code to work with dual set encoding
Pieter Noordhuis [Fri, 2 Jul 2010 17:57:12 +0000 (19:57 +0200)]
merged intset code into the split files
antirez [Thu, 1 Jul 2010 19:13:38 +0000 (21:13 +0200)]
Compilation fixed on Linux after the source code split
antirez [Thu, 1 Jul 2010 18:22:46 +0000 (20:22 +0200)]
Fixed MONITOR output for consistency: now integer encoded values are also formatted like this: "3932"
antirez [Thu, 1 Jul 2010 18:18:48 +0000 (20:18 +0200)]
Fix the AOF fix of the latest commit ;)
antirez [Thu, 1 Jul 2010 18:13:33 +0000 (20:13 +0200)]
fixed error code checking for *write operations and return value in AOF rewriting function
antirez [Thu, 1 Jul 2010 14:55:12 +0000 (16:55 +0200)]
Merged with split
antirez [Thu, 1 Jul 2010 13:14:25 +0000 (15:14 +0200)]
minor aesthetic change
antirez [Thu, 1 Jul 2010 12:52:01 +0000 (14:52 +0200)]
TODO updated
antirez [Thu, 1 Jul 2010 12:47:26 +0000 (14:47 +0200)]
Version is now 2.1.2
antirez [Thu, 1 Jul 2010 12:45:37 +0000 (14:45 +0200)]
Make log target fixed
antirez [Thu, 1 Jul 2010 12:41:03 +0000 (14:41 +0200)]
gitignore modified
antirez [Mon, 21 Jun 2010 22:07:48 +0000 (00:07 +0200)]
redis.c split into many different C files.
networking related stuff moved into networking.c
moved more code
more work on layout of source code
SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
cleanly compiling again after the first split, now splitting it in more C files
moving more things around... work in progress
split replication code
splitting more
Sets split
Hash split
replication split
even more splitting
more splitting
minor change
antirez [Thu, 24 Jun 2010 22:23:38 +0000 (00:23 +0200)]
Merge remote branch 'pietern/zfixes'
Pieter Noordhuis [Thu, 24 Jun 2010 22:12:42 +0000 (15:12 -0700)]
fix unexpected behavior on an out of range end index for LRANGE and LTRIM
Pieter Noordhuis [Wed, 16 Jun 2010 09:03:23 +0000 (11:03 +0200)]
more pub/sub tests
Pieter Noordhuis [Tue, 15 Jun 2010 20:40:21 +0000 (22:40 +0200)]
initial basic pub/sub tests
Pieter Noordhuis [Tue, 15 Jun 2010 19:16:56 +0000 (21:16 +0200)]
fix BLPOP/BRPOP to use the wrapped function for list length
Pieter Noordhuis [Tue, 15 Jun 2010 19:16:27 +0000 (21:16 +0200)]
tests for BLPOP/BRPOP via an option in the tcl client that defers reading the reply
Pieter Noordhuis [Tue, 15 Jun 2010 14:21:42 +0000 (16:21 +0200)]
fix behavior for out-of-range negative end index on ZREMRANGEBYRANK
Pieter Noordhuis [Tue, 15 Jun 2010 13:40:28 +0000 (15:40 +0200)]
more tests for zrange and zrevrange; fix behavior for out-of-range negative end index
antirez [Mon, 14 Jun 2010 15:59:03 +0000 (17:59 +0200)]
TODO updated
antirez [Mon, 14 Jun 2010 08:22:38 +0000 (10:22 +0200)]
Merge branch 'ltrim-tests' of git://github.com/pietern/redis
Pieter Noordhuis [Mon, 14 Jun 2010 08:21:23 +0000 (10:21 +0200)]
rename "list" to "linkedlist" to be more verbose
antirez [Mon, 14 Jun 2010 08:19:45 +0000 (10:19 +0200)]
allow running the test suite against an external Redis instance, without auto spawning
Pieter Noordhuis [Mon, 14 Jun 2010 07:45:34 +0000 (09:45 +0200)]
change ltrim tests to cover all min/max cases and add stronger stresser
antirez [Sun, 13 Jun 2010 21:51:43 +0000 (23:51 +0200)]
Fixed deps in makefile and mkreleasehdr.sh script to really take advantage of the new trick to avoid recompilation of redis.c on git sha1 or dirty status change
antirez [Sun, 13 Jun 2010 21:45:14 +0000 (23:45 +0200)]
hopefully faster recompiling with a trick
Pieter Noordhuis [Sun, 13 Jun 2010 19:52:07 +0000 (21:52 +0200)]
expand the dictionary of the target set to the right size when converting from intset
Pieter Noordhuis [Sun, 13 Jun 2010 19:42:04 +0000 (21:42 +0200)]
make sure sets have the right encoding when loaded from rdb
Pieter Noordhuis [Sun, 13 Jun 2010 19:23:43 +0000 (21:23 +0200)]
use max number of intset entries in tests and make SUNION/SINTER/SDIFF tests use less entries
antirez [Sun, 13 Jun 2010 19:09:51 +0000 (21:09 +0200)]
fixed a bug in rdbLoadObject abount specially encoded objects
Pieter Noordhuis [Sun, 13 Jun 2010 13:21:25 +0000 (15:21 +0200)]
configure maximum number of entries in an intset
Pieter Noordhuis [Sun, 13 Jun 2010 13:07:53 +0000 (15:07 +0200)]
use raw strings when loading a hash from the rdb into a zipmap
Pieter Noordhuis [Sun, 13 Jun 2010 09:16:18 +0000 (11:16 +0200)]
small refactor of SMOVE and tests for SMOVE on sets with different encoding
Pieter Noordhuis [Sat, 12 Jun 2010 20:25:22 +0000 (22:25 +0200)]
intset encoding for sets, refactored set tests to test both encodings
antirez [Sat, 12 Jun 2010 14:26:04 +0000 (16:26 +0200)]
Merge branch 'expire' of git://github.com/pietern/redis
antirez [Fri, 11 Jun 2010 18:27:56 +0000 (20:27 +0200)]
Merge branch 'lists' of git://github.com/pietern/redis
Pieter Noordhuis [Fri, 11 Jun 2010 17:22:27 +0000 (19:22 +0200)]
intset housekeeping
Pieter Noordhuis [Fri, 11 Jun 2010 16:35:57 +0000 (18:35 +0200)]
wrapper functions for the set type to support multiple encodings
Pieter Noordhuis [Fri, 11 Jun 2010 15:35:48 +0000 (17:35 +0200)]
LPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting for a push
Pieter Noordhuis [Fri, 11 Jun 2010 15:34:23 +0000 (17:34 +0200)]
make LINSERT return -1 when the value could not be inserted
Pieter Noordhuis [Thu, 3 Jun 2010 20:21:39 +0000 (22:21 +0200)]
move logic for obvious corner cases to intsetSearch
Pieter Noordhuis [Thu, 3 Jun 2010 14:06:18 +0000 (16:06 +0200)]
initial implementation for the intset
Pieter Noordhuis [Fri, 11 Jun 2010 12:51:59 +0000 (14:51 +0200)]
check if the list encoding needs to be changed on LPUSHX, RPUSHX, LINSERT
Pieter Noordhuis [Fri, 11 Jun 2010 11:27:21 +0000 (13:27 +0200)]
make sure the value to insert is string encoded
Pieter Noordhuis [Fri, 11 Jun 2010 11:06:03 +0000 (13:06 +0200)]
rename vars, move arguments, add comments
Pieter Noordhuis [Fri, 11 Jun 2010 10:03:15 +0000 (12:03 +0200)]
always iterate from head to tail on LINSERT
Pieter Noordhuis [Fri, 11 Jun 2010 09:53:16 +0000 (11:53 +0200)]
use REDIS_TAIL to insert AFTER an entry and REDIS_HEAD to insert BEFORE an entry
Pieter Noordhuis [Fri, 11 Jun 2010 08:52:09 +0000 (10:52 +0200)]
move listTypeInsert to be grouped with other wrapper functions
Robey Pointer [Fri, 11 Jun 2010 08:08:59 +0000 (10:08 +0200)]
squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX
Pieter Noordhuis [Wed, 9 Jun 2010 09:36:58 +0000 (11:36 +0200)]
remove pop function and the sds dependency; can be implemented using get+delete
Pieter Noordhuis [Mon, 7 Jun 2010 19:53:21 +0000 (21:53 +0200)]
compute swappability for ziplist encoded lists
Pieter Noordhuis [Mon, 7 Jun 2010 18:44:12 +0000 (20:44 +0200)]
reuse the sds from the main dictionary in the expiration dictionary
antirez [Mon, 7 Jun 2010 16:30:18 +0000 (18:30 +0200)]
TODO updated
antirez [Mon, 7 Jun 2010 16:07:46 +0000 (18:07 +0200)]
encode integers while loading an hash
antirez [Sat, 5 Jun 2010 09:18:58 +0000 (11:18 +0200)]
Merge branch 'lists' of git://github.com/pietern/redis
Pieter Noordhuis [Sat, 5 Jun 2010 09:16:50 +0000 (11:16 +0200)]
fixed two leaks for the dual encoded lists
antirez [Fri, 4 Jun 2010 19:19:28 +0000 (21:19 +0200)]
TODO updated
antirez [Fri, 4 Jun 2010 19:19:06 +0000 (21:19 +0200)]
DISCSARD now unwatches all keys, as it should
Pieter Noordhuis [Fri, 4 Jun 2010 15:05:54 +0000 (17:05 +0200)]
generated tests for different encodings to avoid test code duplication
Pieter Noordhuis [Fri, 4 Jun 2010 14:30:54 +0000 (16:30 +0200)]
refactor list tests to test both encodings; implemented assert functions
Pieter Noordhuis [Fri, 4 Jun 2010 09:39:23 +0000 (11:39 +0200)]
renamed hash wrapper functions to match wrapper function naming convention: "<type>Type<func>"
antirez [Fri, 4 Jun 2010 09:36:37 +0000 (11:36 +0200)]
Merge branch 'lists' of git://github.com/pietern/redis
antirez [Fri, 4 Jun 2010 09:35:43 +0000 (11:35 +0200)]
Merge branch 'smallkeys'
Pieter Noordhuis [Fri, 4 Jun 2010 09:32:33 +0000 (11:32 +0200)]
safety assert in listTypeNext
Pieter Noordhuis [Fri, 4 Jun 2010 09:04:02 +0000 (11:04 +0200)]
renamed list wrapper functions to be more verbose
Pieter Noordhuis [Fri, 4 Jun 2010 08:57:31 +0000 (10:57 +0200)]
add thresholds for converting a ziplist to a real list
Pieter Noordhuis [Fri, 4 Jun 2010 07:54:06 +0000 (09:54 +0200)]
merge antirez/smallkeys
antirez [Thu, 3 Jun 2010 16:32:52 +0000 (18:32 +0200)]
test restored
antirez [Thu, 3 Jun 2010 16:22:15 +0000 (18:22 +0200)]
memory leak introduced in the latest big changes fixed
antirez [Thu, 3 Jun 2010 16:15:56 +0000 (18:15 +0200)]
Fixed VM bugs introduced with the top level keys as sds strings changes
antirez [Thu, 3 Jun 2010 16:02:54 +0000 (18:02 +0200)]
top level keys are no longer redis objects but sds strings. There are still a few bugs to fix when VM is enabled
Pieter Noordhuis [Wed, 2 Jun 2010 22:50:33 +0000 (00:50 +0200)]
update Makefile to include ziplist.o
Pieter Noordhuis [Wed, 2 Jun 2010 22:48:52 +0000 (00:48 +0200)]
use ziplists in SORT STORE until the thresholds are determined
antirez [Wed, 2 Jun 2010 22:31:41 +0000 (00:31 +0200)]
Merge branch 'testsuite' of git://github.com/pietern/redis
antirez [Wed, 2 Jun 2010 22:31:15 +0000 (00:31 +0200)]
Merge branch 'testsuite' of git://github.com/pietern/redis into smallkeys
Pieter Noordhuis [Wed, 2 Jun 2010 22:27:09 +0000 (00:27 +0200)]
tag memory leak check on kill server as "leaks"
Pieter Noordhuis [Wed, 2 Jun 2010 22:26:39 +0000 (00:26 +0200)]
tag test with sleep() as slow
Pieter Noordhuis [Wed, 2 Jun 2010 22:25:32 +0000 (00:25 +0200)]
make sure the config it returned when called without code
Pieter Noordhuis [Wed, 2 Jun 2010 22:16:10 +0000 (00:16 +0200)]
tag more slow tests
Pieter Noordhuis [Wed, 2 Jun 2010 22:16:02 +0000 (00:16 +0200)]
change how arguments are passed from the AOF tests
Pieter Noordhuis [Wed, 2 Jun 2010 22:06:58 +0000 (00:06 +0200)]
scope res variable outside test
Pieter Noordhuis [Wed, 2 Jun 2010 21:14:55 +0000 (23:14 +0200)]
tags for existing tests
Pieter Noordhuis [Wed, 2 Jun 2010 21:04:22 +0000 (23:04 +0200)]
pass tags to filter and match via arguments
Pieter Noordhuis [Wed, 2 Jun 2010 20:53:22 +0000 (22:53 +0200)]
basic support to tag tests
Pieter Noordhuis [Wed, 2 Jun 2010 20:23:52 +0000 (22:23 +0200)]
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
Pieter Noordhuis [Wed, 2 Jun 2010 19:29:47 +0000 (21:29 +0200)]
removed obsolete code
Pieter Noordhuis [Wed, 2 Jun 2010 19:20:29 +0000 (21:20 +0200)]
catch exceptions in the server proc, to be able to kill the entire chain of running servers
antirez [Wed, 2 Jun 2010 13:19:50 +0000 (15:19 +0200)]
Merge branch 'master' into smallkeys
antirez [Wed, 2 Jun 2010 13:18:22 +0000 (15:18 +0200)]
smarter swapout policy on AOF too
antirez [Wed, 2 Jun 2010 13:13:53 +0000 (15:13 +0200)]
better swapout policy while loading RDB file
antirez [Wed, 2 Jun 2010 13:00:02 +0000 (15:00 +0200)]
minor code comment change
Pieter Noordhuis [Tue, 1 Jun 2010 16:55:37 +0000 (18:55 +0200)]
use integer types from stdint.h to be more verbose on the size in bytes of encoded elements. update list length to use 2 bytes instead of 1.