]> git.saurik.com Git - redis.git/log
redis.git
14 years agoMerge branch 'aggregates' of git://github.com/pietern/redis
antirez [Wed, 17 Mar 2010 15:59:29 +0000 (16:59 +0100)] 
Merge branch 'aggregates' of git://github.com/pietern/redis

14 years agoAdded Authentication to redis-cli.c using -a switch
root [Wed, 17 Mar 2010 13:41:02 +0000 (09:41 -0400)] 
Added Authentication to redis-cli.c using -a switch
Update usage
fixed Makefile to delete redis-check-dump during make clean

14 years agoHEXISTS and tests implemented
antirez [Wed, 17 Mar 2010 12:34:27 +0000 (13:34 +0100)] 
HEXISTS and tests implemented

14 years agoMore hash tests
antirez [Wed, 17 Mar 2010 11:36:27 +0000 (12:36 +0100)] 
More hash tests

14 years agobetter HSET test
antirez [Wed, 17 Mar 2010 01:06:56 +0000 (02:06 +0100)] 
better HSET test

14 years agoFixed a bug in HSET, a memory leak, and a theoretical bug in dict.c
antirez [Wed, 17 Mar 2010 01:00:03 +0000 (02:00 +0100)] 
Fixed a bug in HSET, a memory leak, and a theoretical bug in dict.c

14 years agoMore Hash tests
antirez [Wed, 17 Mar 2010 00:40:05 +0000 (01:40 +0100)] 
More Hash tests

14 years agoadded explicit AGGREGATE [SUM|MIN|MAX] option to ZUNION/ZINTER
Pieter Noordhuis [Sat, 13 Mar 2010 22:27:22 +0000 (23:27 +0100)] 
added explicit AGGREGATE [SUM|MIN|MAX] option to ZUNION/ZINTER

14 years agoHGET fix for integer encoded field against zipmap encoded hash
antirez [Tue, 16 Mar 2010 17:44:37 +0000 (18:44 +0100)] 
HGET fix for integer encoded field against zipmap encoded hash

14 years agozrevrank support in redis-cli
antirez [Tue, 16 Mar 2010 15:20:35 +0000 (16:20 +0100)] 
zrevrank support in redis-cli

14 years agoHKEYS / HVALS / HGETALL
antirez [Tue, 16 Mar 2010 15:09:58 +0000 (16:09 +0100)] 
HKEYS / HVALS / HGETALL

14 years agoSolved a memory leak with Hashes
antirez [Tue, 16 Mar 2010 00:11:23 +0000 (01:11 +0100)] 
Solved a memory leak with Hashes

14 years agopretty big refactoring
antirez [Mon, 15 Mar 2010 22:59:40 +0000 (23:59 +0100)] 
pretty big refactoring

14 years agoAn interesting refactoring + more expressive internal API
antirez [Mon, 15 Mar 2010 21:46:20 +0000 (22:46 +0100)] 
An interesting refactoring + more expressive internal API

14 years agoFixed the same problem in ZREVRANK
antirez [Mon, 15 Mar 2010 18:33:26 +0000 (19:33 +0100)] 
Fixed the same problem in ZREVRANK

14 years agoFixed a ZRANK bug
antirez [Mon, 15 Mar 2010 18:33:01 +0000 (19:33 +0100)] 
Fixed a ZRANK bug

14 years agozipmap to hash conversion in HSET
antirez [Mon, 15 Mar 2010 17:28:12 +0000 (18:28 +0100)] 
zipmap to hash conversion in HSET

14 years agomax zipmap entries and max zipmap value parameters added into INFO output
antirez [Sun, 14 Mar 2010 12:58:28 +0000 (13:58 +0100)] 
max zipmap entries and max zipmap value parameters added into INFO output

14 years agoHDEL and some improvement in DEBUG OBJECT command
antirez [Sun, 14 Mar 2010 12:54:31 +0000 (13:54 +0100)] 
HDEL and some improvement in DEBUG OBJECT command

14 years agoAppend only file support for hashes
antirez [Sun, 14 Mar 2010 12:40:41 +0000 (13:40 +0100)] 
Append only file support for hashes

14 years agoutility to check rdb files for unprocessable opcodes
Pieter Noordhuis [Sat, 13 Mar 2010 14:55:42 +0000 (15:55 +0100)] 
utility to check rdb files for unprocessable opcodes

14 years agoA minor fix and a few debug messages removed
antirez [Fri, 12 Mar 2010 22:46:27 +0000 (23:46 +0100)] 
A minor fix and a few debug messages removed

14 years agoApplied the replication bug patch provided by Jeremy Zawodny, removing temp file...
antirez [Fri, 12 Mar 2010 10:38:53 +0000 (11:38 +0100)] 
Applied the replication bug patch provided by Jeremy Zawodny, removing temp file collision after the slave got the dump.rdb file in the SYNC stage

14 years agoFix for HGET against non Hash type, debug messages used to understand a bit better...
antirez [Thu, 11 Mar 2010 15:10:36 +0000 (16:10 +0100)] 
Fix for HGET against non Hash type, debug messages used to understand a bit better a corrupted rdb file

14 years agofix: use zmalloc instead of malloc
Pieter Noordhuis [Tue, 9 Mar 2010 16:32:24 +0000 (17:32 +0100)] 
fix: use zmalloc instead of malloc

14 years agoMerged zsetops branch from Pietern
antirez [Tue, 9 Mar 2010 15:25:55 +0000 (16:25 +0100)] 
Merged zsetops branch from Pietern

14 years agoMerged ZREMBYRANK from Pietern
antirez [Tue, 9 Mar 2010 15:22:50 +0000 (16:22 +0100)] 
Merged ZREMBYRANK from Pietern

14 years agoMerged ZREVRANK from Pietern
antirez [Tue, 9 Mar 2010 15:19:33 +0000 (16:19 +0100)] 
Merged ZREVRANK from Pietern

14 years agouse a struct to store both a dict and its weight for ZUNION and ZINTER, so qsort...
Pieter Noordhuis [Tue, 9 Mar 2010 15:12:34 +0000 (16:12 +0100)] 
use a struct to store both a dict and its weight for ZUNION and ZINTER, so qsort can be applied

14 years agoHash auto conversion from zipmap to hash table, type fixed for hashes, hash loading...
antirez [Tue, 9 Mar 2010 12:18:49 +0000 (13:18 +0100)] 
Hash auto conversion from zipmap to hash table, type fixed for hashes, hash loading from disk

14 years agoreplaced ZMERGE by ZUNION and ZINTER. note: key preloading by the VM does not yet...
Pieter Noordhuis [Tue, 9 Mar 2010 11:38:50 +0000 (12:38 +0100)] 
replaced ZMERGE by ZUNION and ZINTER. note: key preloading by the VM does not yet work

14 years agoHashes saving / fixes
antirez [Mon, 8 Mar 2010 20:33:07 +0000 (21:33 +0100)] 
Hashes saving / fixes

14 years agouse ZMERGE as starting point
Pieter Noordhuis [Mon, 8 Mar 2010 20:27:26 +0000 (21:27 +0100)] 
use ZMERGE as starting point

14 years agoHSET fixes, now the new pointer is stored back in the object pointer field
antirez [Sun, 7 Mar 2010 22:41:48 +0000 (23:41 +0100)] 
HSET fixes, now the new pointer is stored back in the object pointer field

14 years agoadded ZREVRANK
Pieter Noordhuis [Sun, 7 Mar 2010 19:35:53 +0000 (20:35 +0100)] 
added ZREVRANK

14 years agoFix for replicaiton with over 2GB dump file initial SYNC stage
antirez [Sat, 6 Mar 2010 11:08:22 +0000 (12:08 +0100)] 
Fix for replicaiton with over 2GB dump file initial SYNC stage

14 years agofirst implementation of HSET/HSET. More work needed
antirez [Sat, 6 Mar 2010 00:56:16 +0000 (01:56 +0100)] 
first implementation of HSET/HSET. More work needed

14 years agozipmaps functions to get, iterate, test for existence. Initial works for Hash data...
antirez [Fri, 5 Mar 2010 13:04:17 +0000 (14:04 +0100)] 
zipmaps functions to get, iterate, test for existence. Initial works for Hash data type

14 years agoredis-benchmark now implements Set commands benchmarks
antirez [Thu, 4 Mar 2010 22:05:12 +0000 (23:05 +0100)] 
redis-benchmark now implements Set commands benchmarks

14 years agozipmap iteration code
antirez [Thu, 4 Mar 2010 18:45:15 +0000 (19:45 +0100)] 
zipmap iteration code

14 years agomoved code to delete a single node from a zset to a separate function
Pieter Noordhuis [Thu, 4 Mar 2010 16:55:16 +0000 (17:55 +0100)] 
moved code to delete a single node from a zset to a separate function

14 years agorename zslDeleteRange to zslDeleteRangeByScore (to differentiate between deleting...
Pieter Noordhuis [Thu, 4 Mar 2010 16:50:25 +0000 (17:50 +0100)] 
rename zslDeleteRange to zslDeleteRangeByScore (to differentiate between deleting using score or rank)

14 years agouse 1-based rank across zsl*Rank functions consistently
Pieter Noordhuis [Thu, 4 Mar 2010 16:48:31 +0000 (17:48 +0100)] 
use 1-based rank across zsl*Rank functions consistently

14 years agoimplemented ZREMBYRANK
Pieter Noordhuis [Thu, 4 Mar 2010 11:01:45 +0000 (12:01 +0100)] 
implemented ZREMBYRANK

14 years agoA fix for initialization of augmented skip lists
antirez [Thu, 4 Mar 2010 16:00:06 +0000 (17:00 +0100)] 
A fix for initialization of augmented skip lists

14 years agoA fix for an invalid access when VM is disabled
antirez [Thu, 4 Mar 2010 15:48:26 +0000 (16:48 +0100)] 
A fix for an invalid access when VM is disabled

14 years agoMerge branch 'zsl-get-rank' of git://github.com/pietern/redis
antirez [Thu, 4 Mar 2010 15:43:50 +0000 (16:43 +0100)] 
Merge branch 'zsl-get-rank' of git://github.com/pietern/redis

14 years agoredis-cli now runs in interactive mode if no command is provided
antirez [Thu, 4 Mar 2010 15:36:30 +0000 (16:36 +0100)] 
redis-cli now runs in interactive mode if no command is provided

14 years agomerged memory reduction patch
Pieter Noordhuis [Thu, 4 Mar 2010 15:35:57 +0000 (16:35 +0100)] 
merged memory reduction patch

14 years agoNow list push commands return the length of the new list, thanks to Gustavo Picon
antirez [Thu, 4 Mar 2010 15:16:01 +0000 (16:16 +0100)] 
Now list push commands return the length of the new list, thanks to Gustavo Picon

14 years agofirst check if starting point is trivial (head or tail) before applying log(N) search
Pieter Noordhuis [Thu, 4 Mar 2010 13:23:59 +0000 (14:23 +0100)] 
first check if starting point is trivial (head or tail) before applying log(N) search

14 years agouse rank to find starting point for ZRANGE and ZREVRANGE
Pieter Noordhuis [Thu, 4 Mar 2010 13:16:07 +0000 (14:16 +0100)] 
use rank to find starting point for ZRANGE and ZREVRANGE

14 years agolookup rank of a zset entry in a different function
Pieter Noordhuis [Thu, 4 Mar 2010 12:34:50 +0000 (13:34 +0100)] 
lookup rank of a zset entry in a different function

14 years agoSUBSTR fix for integer encoded vals
antirez [Thu, 4 Mar 2010 12:10:50 +0000 (13:10 +0100)] 
SUBSTR fix for integer encoded vals

14 years agofix ZRANK (realize that rank is 1-based due to the skip list header)
Pieter Noordhuis [Thu, 4 Mar 2010 00:33:37 +0000 (01:33 +0100)] 
fix ZRANK (realize that rank is 1-based due to the skip list header)

14 years agoinitial implementation of SUBSTR
antirez [Wed, 3 Mar 2010 22:15:52 +0000 (23:15 +0100)] 
initial implementation of SUBSTR

14 years agoTODO updated
antirez [Wed, 3 Mar 2010 19:13:42 +0000 (20:13 +0100)] 
TODO updated

14 years agofpurge call removed from redis-cli
antirez [Wed, 3 Mar 2010 19:08:16 +0000 (20:08 +0100)] 
fpurge call removed from redis-cli

14 years agoZRANK stress tester
antirez [Wed, 3 Mar 2010 18:44:03 +0000 (19:44 +0100)] 
ZRANK stress tester

14 years agouse less memory as element->span[0] will always be 1; any level 0 skip list is essent...
Pieter Noordhuis [Wed, 3 Mar 2010 18:04:38 +0000 (19:04 +0100)] 
use less memory as element->span[0] will always be 1; any level 0 skip list is essentially a linked list

14 years agorank is very unlikely to overflow integer range
Pieter Noordhuis [Wed, 3 Mar 2010 17:40:42 +0000 (18:40 +0100)] 
rank is very unlikely to overflow integer range

14 years agox->backward never equals zsl->header
Pieter Noordhuis [Wed, 3 Mar 2010 17:35:56 +0000 (18:35 +0100)] 
x->backward never equals zsl->header

14 years agoinitial implementation for augmented zsets and the zrank command
Pieter Noordhuis [Wed, 3 Mar 2010 17:20:19 +0000 (18:20 +0100)] 
initial implementation for augmented zsets and the zrank command

14 years agozipampDel() implemented
antirez [Wed, 3 Mar 2010 15:59:44 +0000 (16:59 +0100)] 
zipampDel() implemented

14 years agoadded quit and exit commands to redis-cli in order to quit the interactive mode
antirez [Wed, 3 Mar 2010 13:41:47 +0000 (14:41 +0100)] 
added quit and exit commands to redis-cli in order to quit the interactive mode

14 years agoMerge remote branch 'djanowski/interactive'
antirez [Wed, 3 Mar 2010 13:39:03 +0000 (14:39 +0100)] 
Merge remote branch 'djanowski/interactive'

14 years agoAdd support for MULTI/EXEC.
Damian Janowski & Michel Martens [Tue, 2 Mar 2010 19:24:21 +0000 (16:24 -0300)] 
Add support for MULTI/EXEC.

14 years agoRemove trailing newline in interactive mode.
Damian Janowski & Michel Martens [Tue, 2 Mar 2010 18:47:31 +0000 (15:47 -0300)] 
Remove trailing newline in interactive mode.

14 years agominor fix for a Linux warning
antirez [Tue, 2 Mar 2010 16:42:22 +0000 (17:42 +0100)] 
minor fix for a Linux warning

14 years agoAdd interactive mode to redis-cli.
Michel Martens & Damian Janowski [Tue, 2 Mar 2010 15:14:14 +0000 (12:14 -0300)] 
Add interactive mode to redis-cli.

14 years agoBetter to increment the version minor number when a VM bug is fixed... it will be...
antirez [Mon, 1 Mar 2010 23:57:09 +0000 (00:57 +0100)] 
Better to increment the version minor number when a VM bug is fixed... it will be simpler to understand what's going on when users will report problems with the INFO trace.

14 years agoFixed a subtle VM bug... was not flushing the buffer so the child process read trunca...
antirez [Mon, 1 Mar 2010 23:52:50 +0000 (00:52 +0100)] 
Fixed a subtle VM bug... was not flushing the buffer so the child process read truncated data

14 years agoKEYS now returns a multi bulk reply
antirez [Mon, 1 Mar 2010 22:46:24 +0000 (23:46 +0100)] 
KEYS now returns a multi bulk reply

14 years agoAdd DISCARD command to discard queued MULTI commands.
Damian Janowski [Sun, 28 Feb 2010 02:36:19 +0000 (23:36 -0300)] 
Add DISCARD command to discard queued MULTI commands.

14 years agoSwappability bug due to a typo fixed thanks to code review by Felix Geisendörfer...
antirez [Mon, 1 Mar 2010 21:15:49 +0000 (22:15 +0100)] 
Swappability bug due to a typo fixed thanks to code review by Felix Geisendörfer @felixge

14 years agominor fixes for zipmap.c
antirez [Sun, 28 Feb 2010 17:05:25 +0000 (18:05 +0100)] 
minor fixes for zipmap.c

14 years agofirst zipmap fix of a long sequence in the days to come ;)
antirez [Sat, 27 Feb 2010 17:13:55 +0000 (18:13 +0100)] 
first zipmap fix of a long sequence in the days to come ;)

14 years agoinitial zipmap.c implementation
antirez [Sat, 27 Feb 2010 17:07:46 +0000 (18:07 +0100)] 
initial zipmap.c implementation

14 years agoBug #169 fixed (BLOP/BRPOP interrupted connections are not cleared from the queue)
antirez [Sat, 27 Feb 2010 11:26:08 +0000 (12:26 +0100)] 
Bug #169 fixed (BLOP/BRPOP interrupted connections are not cleared from the queue)

14 years agoFixed 32bit make target to work on Linux out of the box
antirez [Mon, 22 Feb 2010 16:36:54 +0000 (17:36 +0100)] 
Fixed 32bit make target to work on Linux out of the box

14 years agoA problem with replication with multiple slaves connectiong to a single master fixed...
antirez [Fri, 19 Feb 2010 10:23:57 +0000 (11:23 +0100)] 
A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.

14 years agoSaner VM defaults for redis.conf
antirez [Wed, 10 Feb 2010 14:59:09 +0000 (15:59 +0100)] 
Saner VM defaults for redis.conf

14 years agoVM now is able to block clients on swapped keys for all the commands
antirez [Tue, 9 Feb 2010 13:01:49 +0000 (14:01 +0100)] 
VM now is able to block clients on swapped keys for all the commands

14 years agoZCOUNT and ZRANGEBYSCORE new tests
antirez [Sun, 7 Feb 2010 22:54:22 +0000 (23:54 +0100)] 
ZCOUNT and ZRANGEBYSCORE new tests

14 years agoZRANGEBYSCORE now supports open intervals, prefixing double values with a open paren...
antirez [Sun, 7 Feb 2010 20:52:35 +0000 (21:52 +0100)] 
ZRANGEBYSCORE now supports open intervals, prefixing double values with a open paren. Added ZCOUNT that can count the elements inside an interval of scores, this supports open intervals too

14 years agoWITHSCORES in ZRANGEBYSCORE thanks to Sam Hendley
antirez [Sun, 7 Feb 2010 09:32:28 +0000 (10:32 +0100)] 
WITHSCORES in ZRANGEBYSCORE thanks to Sam Hendley

14 years agoAdded "withscores" option to zrangebyscore command. Based on withscores support in...
Sam Hendley [Sat, 6 Feb 2010 23:41:25 +0000 (18:41 -0500)] 
Added "withscores" option to zrangebyscore command. Based on withscores support in zrange function, ugliest part was the argument parsing to handle
using it with the limit option.

14 years agoDEBUG OBJECT provide info about serialized object length even when VM is disabled
antirez [Sat, 6 Feb 2010 17:53:39 +0000 (18:53 +0100)] 
DEBUG OBJECT provide info about serialized object length even when VM is disabled

14 years agomulti bulk requests in redis-benchmark, default fsync policy changed to everysec...
antirez [Sat, 6 Feb 2010 12:39:07 +0000 (13:39 +0100)] 
multi bulk requests in redis-benchmark, default fsync policy changed to everysec, added a prefix character for DEBUG logs

14 years agoAPPEND tests
antirez [Thu, 4 Feb 2010 15:38:33 +0000 (16:38 +0100)] 
APPEND tests

14 years agoAPPEND command
antirez [Thu, 4 Feb 2010 14:55:52 +0000 (15:55 +0100)] 
APPEND command

14 years agoFaster version of the function hashing possibly encoded objects, leading to a general...
antirez [Tue, 2 Feb 2010 11:19:24 +0000 (12:19 +0100)] 
Faster version of the function hashing possibly encoded objects, leading to a general speed gain when working with Sets of integers

14 years agofaster Set loading time from .rdb file resizing the hash table to the right size...
antirez [Tue, 2 Feb 2010 11:05:15 +0000 (12:05 +0100)] 
faster Set loading time from .rdb file resizing the hash table to the right size before loading elements

14 years agoLog time taken to load the DB at startup, in seconds
antirez [Tue, 2 Feb 2010 11:01:53 +0000 (12:01 +0100)] 
Log time taken to load the DB at startup, in seconds

14 years agoFixed VM corruption due to child fclosing the VM file directly or indirectly calling...
antirez [Sun, 31 Jan 2010 15:03:44 +0000 (16:03 +0100)] 
Fixed VM corruption due to child fclosing the VM file directly or indirectly calling exit(), now replaced with _exit() in all the sensible places. Masked a few signals from IO threads.

14 years agoloading side of the threaded VM
antirez [Thu, 28 Jan 2010 15:12:04 +0000 (10:12 -0500)] 
loading side of the threaded VM

14 years agoTODO cahnges
antirez [Tue, 26 Jan 2010 10:02:27 +0000 (05:02 -0500)] 
TODO cahnges

14 years agoFixed memory human style memory reporting, removed server.usedmemory, now zmalloc_use...
antirez [Sat, 23 Jan 2010 16:55:04 +0000 (11:55 -0500)] 
Fixed memory human style memory reporting, removed server.usedmemory, now zmalloc_used_memory() is used always.

14 years agoVM tuning thanks to redis-stat vmstat. Now it performs much better under high load
antirez [Fri, 22 Jan 2010 17:58:11 +0000 (12:58 -0500)] 
VM tuning thanks to redis-stat vmstat. Now it performs much better under high load

14 years agoChangelog updated
antirez [Thu, 21 Jan 2010 15:36:32 +0000 (10:36 -0500)] 
Changelog updated