]> git.saurik.com Git - redis.git/log
redis.git
14 years agofixed a bug in rdbLoadObject abount specially encoded objects
antirez [Sun, 13 Jun 2010 19:09:51 +0000 (21:09 +0200)] 
fixed a bug in rdbLoadObject abount specially encoded objects

14 years agouse raw strings when loading a hash from the rdb into a zipmap
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

14 years agoMerge branch 'expire' of git://github.com/pietern/redis
antirez [Sat, 12 Jun 2010 14:26:04 +0000 (16:26 +0200)] 
Merge branch 'expire' of git://github.com/pietern/redis

14 years agoMerge branch 'lists' 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

14 years agoLPUSHX, RPUSHX, LINSERT only work on non-empty lists, so there are no clients waiting...
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

14 years agomake LINSERT return -1 when the value could not be inserted
Pieter Noordhuis [Fri, 11 Jun 2010 15:34:23 +0000 (17:34 +0200)] 
make LINSERT return -1 when the value could not be inserted

14 years agocheck if the list encoding needs to be changed on LPUSHX, RPUSHX, LINSERT
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

14 years agomake sure the value to insert is string encoded
Pieter Noordhuis [Fri, 11 Jun 2010 11:27:21 +0000 (13:27 +0200)] 
make sure the value to insert is string encoded

14 years agorename vars, move arguments, add comments
Pieter Noordhuis [Fri, 11 Jun 2010 11:06:03 +0000 (13:06 +0200)] 
rename vars, move arguments, add comments

14 years agoalways iterate from head to tail on LINSERT
Pieter Noordhuis [Fri, 11 Jun 2010 10:03:15 +0000 (12:03 +0200)] 
always iterate from head to tail on LINSERT

14 years agouse REDIS_TAIL to insert AFTER an entry and REDIS_HEAD to insert BEFORE an entry
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

14 years agomove listTypeInsert to be grouped with other wrapper functions
Pieter Noordhuis [Fri, 11 Jun 2010 08:52:09 +0000 (10:52 +0200)] 
move listTypeInsert to be grouped with other wrapper functions

14 years agosquashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX
Robey Pointer [Fri, 11 Jun 2010 08:08:59 +0000 (10:08 +0200)] 
squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX

14 years agoremove pop function and the sds dependency; can be implemented using get+delete
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

14 years agocompute swappability for ziplist encoded lists
Pieter Noordhuis [Mon, 7 Jun 2010 19:53:21 +0000 (21:53 +0200)] 
compute swappability for ziplist encoded lists

14 years agoreuse the sds from the main dictionary in the expiration dictionary
Pieter Noordhuis [Mon, 7 Jun 2010 18:44:12 +0000 (20:44 +0200)] 
reuse the sds from the main dictionary in the expiration dictionary

14 years agoTODO updated
antirez [Mon, 7 Jun 2010 16:30:18 +0000 (18:30 +0200)] 
TODO updated

14 years agoencode integers while loading an hash
antirez [Mon, 7 Jun 2010 16:07:46 +0000 (18:07 +0200)] 
encode integers while loading an hash

14 years agoMerge branch 'lists' of git://github.com/pietern/redis
antirez [Sat, 5 Jun 2010 09:18:58 +0000 (11:18 +0200)] 
Merge branch 'lists' of git://github.com/pietern/redis

14 years agofixed two leaks for the dual encoded lists
Pieter Noordhuis [Sat, 5 Jun 2010 09:16:50 +0000 (11:16 +0200)] 
fixed two leaks for the dual encoded lists

14 years agoTODO updated
antirez [Fri, 4 Jun 2010 19:19:28 +0000 (21:19 +0200)] 
TODO updated

14 years agoDISCSARD now unwatches all keys, as it should
antirez [Fri, 4 Jun 2010 19:19:06 +0000 (21:19 +0200)] 
DISCSARD now unwatches all keys, as it should

14 years agogenerated tests for different encodings to avoid test code duplication
Pieter Noordhuis [Fri, 4 Jun 2010 15:05:54 +0000 (17:05 +0200)] 
generated tests for different encodings to avoid test code duplication

14 years agorefactor list tests to test both encodings; implemented assert functions
Pieter Noordhuis [Fri, 4 Jun 2010 14:30:54 +0000 (16:30 +0200)] 
refactor list tests to test both encodings; implemented assert functions

14 years agorenamed hash wrapper functions to match wrapper function naming convention: "<type...
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>"

14 years agoMerge branch 'lists' of git://github.com/pietern/redis
antirez [Fri, 4 Jun 2010 09:36:37 +0000 (11:36 +0200)] 
Merge branch 'lists' of git://github.com/pietern/redis

14 years agoMerge branch 'smallkeys'
antirez [Fri, 4 Jun 2010 09:35:43 +0000 (11:35 +0200)] 
Merge branch 'smallkeys'

14 years agosafety assert in listTypeNext
Pieter Noordhuis [Fri, 4 Jun 2010 09:32:33 +0000 (11:32 +0200)] 
safety assert in listTypeNext

14 years agorenamed list wrapper functions to be more verbose
Pieter Noordhuis [Fri, 4 Jun 2010 09:04:02 +0000 (11:04 +0200)] 
renamed list wrapper functions to be more verbose

14 years agoadd thresholds for converting a ziplist to a real list
Pieter Noordhuis [Fri, 4 Jun 2010 08:57:31 +0000 (10:57 +0200)] 
add thresholds for converting a ziplist to a real list

14 years agomerge antirez/smallkeys
Pieter Noordhuis [Fri, 4 Jun 2010 07:54:06 +0000 (09:54 +0200)] 
merge antirez/smallkeys

14 years agotest restored
antirez [Thu, 3 Jun 2010 16:32:52 +0000 (18:32 +0200)] 
test restored

14 years agomemory leak introduced in the latest big changes fixed
antirez [Thu, 3 Jun 2010 16:22:15 +0000 (18:22 +0200)] 
memory leak introduced in the latest big changes fixed

14 years agoFixed VM bugs introduced with the top level keys as sds strings changes
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

14 years agotop level keys are no longer redis objects but sds strings. There are still a few...
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

14 years agoupdate Makefile to include ziplist.o
Pieter Noordhuis [Wed, 2 Jun 2010 22:50:33 +0000 (00:50 +0200)] 
update Makefile to include ziplist.o

14 years agouse ziplists in SORT STORE until the thresholds are determined
Pieter Noordhuis [Wed, 2 Jun 2010 22:48:52 +0000 (00:48 +0200)] 
use ziplists in SORT STORE until the thresholds are determined

14 years agoMerge branch 'testsuite' of git://github.com/pietern/redis
antirez [Wed, 2 Jun 2010 22:31:41 +0000 (00:31 +0200)] 
Merge branch 'testsuite' of git://github.com/pietern/redis

14 years agoMerge branch 'testsuite' of git://github.com/pietern/redis into smallkeys
antirez [Wed, 2 Jun 2010 22:31:15 +0000 (00:31 +0200)] 
Merge branch 'testsuite' of git://github.com/pietern/redis into smallkeys

14 years agotag memory leak check on kill server as "leaks"
Pieter Noordhuis [Wed, 2 Jun 2010 22:27:09 +0000 (00:27 +0200)] 
tag memory leak check on kill server as "leaks"

14 years agotag test with sleep() as slow
Pieter Noordhuis [Wed, 2 Jun 2010 22:26:39 +0000 (00:26 +0200)] 
tag test with sleep() as slow

14 years agomake sure the config it returned when called without code
Pieter Noordhuis [Wed, 2 Jun 2010 22:25:32 +0000 (00:25 +0200)] 
make sure the config it returned when called without code

14 years agotag more slow tests
Pieter Noordhuis [Wed, 2 Jun 2010 22:16:10 +0000 (00:16 +0200)] 
tag more slow tests

14 years agochange how arguments are passed from the AOF tests
Pieter Noordhuis [Wed, 2 Jun 2010 22:16:02 +0000 (00:16 +0200)] 
change how arguments are passed from the AOF tests

14 years agoscope res variable outside test
Pieter Noordhuis [Wed, 2 Jun 2010 22:06:58 +0000 (00:06 +0200)] 
scope res variable outside test

14 years agotags for existing tests
Pieter Noordhuis [Wed, 2 Jun 2010 21:14:55 +0000 (23:14 +0200)] 
tags for existing tests

14 years agopass tags to filter and match via arguments
Pieter Noordhuis [Wed, 2 Jun 2010 21:04:22 +0000 (23:04 +0200)] 
pass tags to filter and match via arguments

14 years agobasic support to tag tests
Pieter Noordhuis [Wed, 2 Jun 2010 20:53:22 +0000 (22:53 +0200)] 
basic support to tag tests

14 years agochanged how server.tcl accepts options to support more directives without requiring...
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

14 years agoremoved obsolete code
Pieter Noordhuis [Wed, 2 Jun 2010 19:29:47 +0000 (21:29 +0200)] 
removed obsolete code

14 years agocatch exceptions in the server proc, to be able to kill the entire chain of running...
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

14 years agoMerge branch 'master' into smallkeys
antirez [Wed, 2 Jun 2010 13:19:50 +0000 (15:19 +0200)] 
Merge branch 'master' into smallkeys

14 years agosmarter swapout policy on AOF too
antirez [Wed, 2 Jun 2010 13:18:22 +0000 (15:18 +0200)] 
smarter swapout policy on AOF too

14 years agobetter swapout policy while loading RDB file
antirez [Wed, 2 Jun 2010 13:13:53 +0000 (15:13 +0200)] 
better swapout policy while loading RDB file

14 years agominor code comment change
antirez [Wed, 2 Jun 2010 13:00:02 +0000 (15:00 +0200)] 
minor code comment change

14 years agouse integer types from stdint.h to be more verbose on the size in bytes of encoded...
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.

14 years agoadded stress test for heavy i/o in ziplists
Pieter Noordhuis [Tue, 1 Jun 2010 15:57:51 +0000 (17:57 +0200)] 
added stress test for heavy i/o in ziplists

14 years agofix signedness errors in ziplist testing code
Pieter Noordhuis [Tue, 1 Jun 2010 15:57:09 +0000 (17:57 +0200)] 
fix signedness errors in ziplist testing code

14 years agominor code movements and free object pull restored to 1 million
antirez [Tue, 1 Jun 2010 15:08:43 +0000 (17:08 +0200)] 
minor code movements and free object pull restored to 1 million

14 years agoTODO updated with syslog plans for 2.2
antirez [Tue, 1 Jun 2010 13:01:16 +0000 (15:01 +0200)] 
TODO updated with syslog plans for 2.2

14 years agoDebug message was printing stuff that are sometimes not initialized/valid
antirez [Tue, 1 Jun 2010 12:22:21 +0000 (14:22 +0200)] 
Debug message was printing stuff that are sometimes not initialized/valid

14 years agoMerge branch 'smallkeys' of github.com:antirez/redis into smallkeys
antirez [Tue, 1 Jun 2010 12:18:38 +0000 (14:18 +0200)] 
Merge branch 'smallkeys' of github.com:antirez/redis into smallkeys

14 years agofixed a few comments
antirez [Tue, 1 Jun 2010 12:18:30 +0000 (14:18 +0200)] 
fixed a few comments

14 years agofixed bugs introduced in the rewrite of the new VM engine
antirez [Tue, 1 Jun 2010 12:15:46 +0000 (14:15 +0200)] 
fixed bugs introduced in the rewrite of the new VM engine

14 years agosupport rewriting the AOF with dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 21:49:16 +0000 (23:49 +0200)] 
support rewriting the AOF with dual list encoding

14 years agosmall refactor of fwrite* commands for AOF rewrite to allow writing a bulk long long
Pieter Noordhuis [Mon, 31 May 2010 21:41:04 +0000 (23:41 +0200)] 
small refactor of fwrite* commands for AOF rewrite to allow writing a bulk long long

14 years agouse list wrapper functions in computing the dataset digest
Pieter Noordhuis [Mon, 31 May 2010 21:35:51 +0000 (23:35 +0200)] 
use list wrapper functions in computing the dataset digest

14 years agoziplistNext should work as expected when called with a pointer to ZIP_END
Pieter Noordhuis [Mon, 31 May 2010 21:35:21 +0000 (23:35 +0200)] 
ziplistNext should work as expected when called with a pointer to ZIP_END

14 years agoupdate SORT to work with the dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 21:11:28 +0000 (23:11 +0200)] 
update SORT to work with the dual list encoding

14 years agofunction to create a new ziplist encoded list
Pieter Noordhuis [Mon, 31 May 2010 21:10:05 +0000 (23:10 +0200)] 
function to create a new ziplist encoded list

14 years agofixed missing incrRefCount
antirez [Mon, 31 May 2010 20:56:53 +0000 (22:56 +0200)] 
fixed missing incrRefCount

14 years agosupport rdb saving/loading with dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 20:25:22 +0000 (22:25 +0200)] 
support rdb saving/loading with dual list encoding

14 years agofixed signedness and disambiguate variable names
Pieter Noordhuis [Mon, 31 May 2010 19:44:12 +0000 (21:44 +0200)] 
fixed signedness and disambiguate variable names

14 years agoadded rdb save function to directly save long long values
Pieter Noordhuis [Mon, 31 May 2010 19:08:07 +0000 (21:08 +0200)] 
added rdb save function to directly save long long values

14 years agoupdate RPOPLPUSH to support dual encoding
Pieter Noordhuis [Mon, 31 May 2010 18:47:39 +0000 (20:47 +0200)] 
update RPOPLPUSH to support dual encoding

14 years agoupdate list iteration semantic to work as expected (i.e. "while(lNext(..))")
Pieter Noordhuis [Mon, 31 May 2010 18:25:31 +0000 (20:25 +0200)] 
update list iteration semantic to work as expected (i.e. "while(lNext(..))")

14 years agoziplistDelete no longer needs a direction now ziplistPrev is fixed
Pieter Noordhuis [Mon, 31 May 2010 18:18:23 +0000 (20:18 +0200)] 
ziplistDelete no longer needs a direction now ziplistPrev is fixed

14 years agoziplistPrev should return the tail when the argument is ZIP_END
Pieter Noordhuis [Mon, 31 May 2010 18:17:21 +0000 (20:17 +0200)] 
ziplistPrev should return the tail when the argument is ZIP_END

14 years agofirst step of VM rewrite. blocking VM tests passing, more work needed in the async...
antirez [Mon, 31 May 2010 18:10:18 +0000 (20:10 +0200)] 
first step of VM rewrite. blocking VM tests passing, more work needed in the async side

14 years agoMerge branch 'no-appendfsync-on-rewrite'
antirez [Mon, 31 May 2010 08:08:14 +0000 (10:08 +0200)] 
Merge branch 'no-appendfsync-on-rewrite'

14 years agofix LREM to remove *all* occurances when a zero argument is given
Pieter Noordhuis [Sun, 30 May 2010 01:14:38 +0000 (03:14 +0200)] 
fix LREM to remove *all* occurances when a zero argument is given

14 years agofixed LINDEX to always return bulk response
Pieter Noordhuis [Sun, 30 May 2010 01:08:24 +0000 (03:08 +0200)] 
fixed LINDEX to always return bulk response

14 years agothe tail offset must be an integer pointer to hold a 32-bit offset
Pieter Noordhuis [Sun, 30 May 2010 01:06:12 +0000 (03:06 +0200)] 
the tail offset must be an integer pointer to hold a 32-bit offset

14 years agoupdate LREM to support dual encoding via extra iteration primitives
Pieter Noordhuis [Sun, 30 May 2010 00:17:36 +0000 (02:17 +0200)] 
update LREM to support dual encoding via extra iteration primitives

14 years agosupport dual encoding in LTRIM
Pieter Noordhuis [Sun, 30 May 2010 00:16:12 +0000 (02:16 +0200)] 
support dual encoding in LTRIM

14 years agoupdate LRANGE to use basic iteration code to support dual encoding
Pieter Noordhuis [Sun, 30 May 2010 00:15:34 +0000 (02:15 +0200)] 
update LRANGE to use basic iteration code to support dual encoding

14 years agoinline support for dual encoding in the LINDEX and LSET commands
Pieter Noordhuis [Sun, 30 May 2010 00:11:59 +0000 (02:11 +0200)] 
inline support for dual encoding in the LINDEX and LSET commands

14 years agogeneric pop and length function for ziplist encoding
Pieter Noordhuis [Sat, 29 May 2010 23:50:32 +0000 (01:50 +0200)] 
generic pop and length function for ziplist encoding

14 years agogeneric push function that supports the dual encoding
Pieter Noordhuis [Sat, 29 May 2010 23:46:59 +0000 (01:46 +0200)] 
generic push function that supports the dual encoding

14 years agochange delete function to accept a direction argument, so "p" can be properly updated
Pieter Noordhuis [Sat, 29 May 2010 23:39:41 +0000 (01:39 +0200)] 
change delete function to accept a direction argument, so "p" can be properly updated

14 years agoexpose extra functionality from ziplist.c
Pieter Noordhuis [Sat, 29 May 2010 23:38:56 +0000 (01:38 +0200)] 
expose extra functionality from ziplist.c

14 years agocode style consistency fixes
Pieter Noordhuis [Sat, 29 May 2010 23:37:03 +0000 (01:37 +0200)] 
code style consistency fixes

14 years agoziplistIndex now accepts negative indices
Pieter Noordhuis [Sat, 29 May 2010 20:17:16 +0000 (22:17 +0200)] 
ziplistIndex now accepts negative indices

14 years agofix compile warnings
Pieter Noordhuis [Sat, 29 May 2010 17:34:14 +0000 (19:34 +0200)] 
fix compile warnings

14 years agouse simpler encoding for the length of the previous entry
Pieter Noordhuis [Sat, 29 May 2010 17:26:35 +0000 (19:26 +0200)] 
use simpler encoding for the length of the previous entry

14 years agoreplace functions to get pointers to head and tail by macros
Pieter Noordhuis [Sat, 29 May 2010 17:09:37 +0000 (19:09 +0200)] 
replace functions to get pointers to head and tail by macros

14 years agofunction to insert an element at an arbitrary position in the list
Pieter Noordhuis [Sat, 29 May 2010 16:52:49 +0000 (18:52 +0200)] 
function to insert an element at an arbitrary position in the list

14 years agoextract a generic delete function that can be used in pop and delete(range)
Pieter Noordhuis [Sat, 29 May 2010 15:38:23 +0000 (17:38 +0200)] 
extract a generic delete function that can be used in pop and delete(range)

14 years agouse the entry struct in zipRawEntryLength
Pieter Noordhuis [Sat, 29 May 2010 14:37:47 +0000 (16:37 +0200)] 
use the entry struct in zipRawEntryLength

14 years agorename argument names to s* to disambiguate from e*
Pieter Noordhuis [Sat, 29 May 2010 14:26:55 +0000 (16:26 +0200)] 
rename argument names to s* to disambiguate from e*