]>
git.saurik.com Git - redis.git/log
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)
Pieter Noordhuis [Thu, 4 Mar 2010 16:48:31 +0000 (17:48 +0100)]
use 1-based rank across zsl*Rank functions consistently
Pieter Noordhuis [Thu, 4 Mar 2010 11:01:45 +0000 (12:01 +0100)]
implemented ZREMBYRANK
antirez [Thu, 4 Mar 2010 16:00:06 +0000 (17:00 +0100)]
A fix for initialization of augmented skip lists
antirez [Thu, 4 Mar 2010 15:48:26 +0000 (16:48 +0100)]
A fix for an invalid access when VM is disabled
antirez [Thu, 4 Mar 2010 15:43:50 +0000 (16:43 +0100)]
Merge branch 'zsl-get-rank' of git://github.com/pietern/redis
antirez [Thu, 4 Mar 2010 15:36:30 +0000 (16:36 +0100)]
redis-cli now runs in interactive mode if no command is provided
Pieter Noordhuis [Thu, 4 Mar 2010 15:35:57 +0000 (16:35 +0100)]
merged memory reduction patch
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
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
Pieter Noordhuis [Thu, 4 Mar 2010 13:16:07 +0000 (14:16 +0100)]
use rank to find starting point for ZRANGE and ZREVRANGE
Pieter Noordhuis [Thu, 4 Mar 2010 12:34:50 +0000 (13:34 +0100)]
lookup rank of a zset entry in a different function
antirez [Thu, 4 Mar 2010 12:10:50 +0000 (13:10 +0100)]
SUBSTR fix for integer encoded vals
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)
antirez [Wed, 3 Mar 2010 22:15:52 +0000 (23:15 +0100)]
initial implementation of SUBSTR
antirez [Wed, 3 Mar 2010 19:13:42 +0000 (20:13 +0100)]
TODO updated
antirez [Wed, 3 Mar 2010 19:08:16 +0000 (20:08 +0100)]
fpurge call removed from redis-cli
antirez [Wed, 3 Mar 2010 18:44:03 +0000 (19:44 +0100)]
ZRANK stress tester
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
Pieter Noordhuis [Wed, 3 Mar 2010 17:40:42 +0000 (18:40 +0100)]
rank is very unlikely to overflow integer range
Pieter Noordhuis [Wed, 3 Mar 2010 17:35:56 +0000 (18:35 +0100)]
x->backward never equals zsl->header
Pieter Noordhuis [Wed, 3 Mar 2010 17:20:19 +0000 (18:20 +0100)]
initial implementation for augmented zsets and the zrank command
antirez [Wed, 3 Mar 2010 15:59:44 +0000 (16:59 +0100)]
zipampDel() implemented
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
antirez [Wed, 3 Mar 2010 13:39:03 +0000 (14:39 +0100)]
Merge remote branch 'djanowski/interactive'
Damian Janowski & Michel Martens [Tue, 2 Mar 2010 19:24:21 +0000 (16:24 -0300)]
Add support for MULTI/EXEC.
Damian Janowski & Michel Martens [Tue, 2 Mar 2010 18:47:31 +0000 (15:47 -0300)]
Remove trailing newline in interactive mode.
antirez [Tue, 2 Mar 2010 16:42:22 +0000 (17:42 +0100)]
minor fix for a Linux warning
Michel Martens & Damian Janowski [Tue, 2 Mar 2010 15:14:14 +0000 (12:14 -0300)]
Add interactive mode to redis-cli.
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.
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
antirez [Mon, 1 Mar 2010 22:46:24 +0000 (23:46 +0100)]
KEYS now returns a multi bulk reply
Damian Janowski [Sun, 28 Feb 2010 02:36:19 +0000 (23:36 -0300)]
Add DISCARD command to discard queued MULTI commands.
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
antirez [Sun, 28 Feb 2010 17:05:25 +0000 (18:05 +0100)]
minor fixes for zipmap.c
antirez [Sat, 27 Feb 2010 17:13:55 +0000 (18:13 +0100)]
first zipmap fix of a long sequence in the days to come ;)
antirez [Sat, 27 Feb 2010 17:07:46 +0000 (18:07 +0100)]
initial zipmap.c implementation
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)
antirez [Mon, 22 Feb 2010 16:36:54 +0000 (17:36 +0100)]
Fixed 32bit make target to work on Linux out of the box
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.
antirez [Wed, 10 Feb 2010 14:59:09 +0000 (15:59 +0100)]
Saner VM defaults for redis.conf
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
antirez [Sun, 7 Feb 2010 22:54:22 +0000 (23:54 +0100)]
ZCOUNT and ZRANGEBYSCORE new tests
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
antirez [Sun, 7 Feb 2010 09:32:28 +0000 (10:32 +0100)]
WITHSCORES in ZRANGEBYSCORE thanks to Sam Hendley
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.
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
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
antirez [Thu, 4 Feb 2010 15:38:33 +0000 (16:38 +0100)]
APPEND tests
antirez [Thu, 4 Feb 2010 14:55:52 +0000 (15:55 +0100)]
APPEND command
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
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
antirez [Tue, 2 Feb 2010 11:01:53 +0000 (12:01 +0100)]
Log time taken to load the DB at startup, in seconds
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.
antirez [Thu, 28 Jan 2010 15:12:04 +0000 (10:12 -0500)]
loading side of the threaded VM
antirez [Tue, 26 Jan 2010 10:02:27 +0000 (05:02 -0500)]
TODO cahnges
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.
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
antirez [Thu, 21 Jan 2010 15:36:32 +0000 (10:36 -0500)]
Changelog updated
antirez [Thu, 21 Jan 2010 12:27:32 +0000 (07:27 -0500)]
REDIS_MAX_COMPLETED_JOBS_PROCESSED is now in percentage, not number of jobs. Moved a debugging message a few lines forward as it was called where a few logged parameters where invalid, leading to a crash
antirez [Wed, 20 Jan 2010 21:57:00 +0000 (16:57 -0500)]
fixed a deadlock caused by too much finished processes in queue so that I/O clients writing to the wirte side of the pipe used to awake the main thread where blocking. Then a BGSAVE started waiting for the last active thread to finish, condition impossible because all the I/O threads where blocking on threads. Takes this as a note to myself...
antirez [Wed, 20 Jan 2010 18:38:59 +0000 (13:38 -0500)]
ae.c event loop does no longer support exception notifications, as they are fully pointless. Also a theoretical bug that never happens in practice fixed.
antirez [Tue, 19 Jan 2010 18:32:36 +0000 (13:32 -0500)]
commercial tools stuff removed from the Redis makefile. cotools are now migrated into a different repos
antirez [Tue, 19 Jan 2010 18:02:02 +0000 (13:02 -0500)]
removed a bug in the function to cancel an I/O job
antirez [Sun, 17 Jan 2010 16:24:37 +0000 (11:24 -0500)]
static symbols update
antirez [Sat, 16 Jan 2010 12:57:32 +0000 (07:57 -0500)]
removed support for REDIS_HELGRIND_FRIENDLY since Helgrind 3.5.0 is friendly enough even with many threads created and destroyed
antirez [Fri, 15 Jan 2010 21:42:29 +0000 (16:42 -0500)]
now redis-cli understands -h
antirez [Fri, 15 Jan 2010 19:02:18 +0000 (14:02 -0500)]
Create swap file only if not exists
antirez [Fri, 15 Jan 2010 18:55:52 +0000 (13:55 -0500)]
I hate warnings
antirez [Fri, 15 Jan 2010 18:35:13 +0000 (13:35 -0500)]
fixed a minor memory leak in configuration file parsing
antirez [Fri, 15 Jan 2010 18:17:43 +0000 (13:17 -0500)]
minor fix
antirez [Fri, 15 Jan 2010 18:14:23 +0000 (13:14 -0500)]
support for named VM swap file. Fixed a few important interaction issues between the background saving processes and IO threads
antirez [Fri, 15 Jan 2010 15:37:37 +0000 (10:37 -0500)]
fix for the just added new test
antirez [Fri, 15 Jan 2010 14:39:44 +0000 (09:39 -0500)]
useless debugging messages removed
antirez [Fri, 15 Jan 2010 14:37:26 +0000 (09:37 -0500)]
new test added
antirez [Fri, 15 Jan 2010 13:52:20 +0000 (08:52 -0500)]
thread safe zmalloc used memory counter
antirez [Fri, 15 Jan 2010 10:16:12 +0000 (05:16 -0500)]
A define to make Redis more helgrind friendly
antirez [Fri, 15 Jan 2010 10:09:18 +0000 (05:09 -0500)]
removed a few races from threaded VM
antirez [Thu, 14 Jan 2010 22:18:27 +0000 (17:18 -0500)]
Fixed a never experienced, theoretical bug that can actually happen in practice. Basically when a thread is working on a I/O Job we need to wait it to finish before to cancel the Job in vmCancelThreadedIOJob(), otherwise the thread may mess with an object that is being manipulated by the main thread as well.
antirez [Thu, 14 Jan 2010 13:58:41 +0000 (08:58 -0500)]
Set the new threads stack size to a LZF friendly amount
antirez [Wed, 13 Jan 2010 21:26:41 +0000 (16:26 -0500)]
access to already freed job structure fixed by statements reoredering
antirez [Wed, 13 Jan 2010 18:41:38 +0000 (13:41 -0500)]
removed a useless debugging message
antirez [Wed, 13 Jan 2010 18:38:30 +0000 (13:38 -0500)]
Wait zero active threads condition before to fork() for BGSAVE or BGREWRITEAOF
antirez [Wed, 13 Jan 2010 18:18:07 +0000 (13:18 -0500)]
list API is now thread safe
antirez [Wed, 13 Jan 2010 14:40:50 +0000 (09:40 -0500)]
minor TODO and debugging info changes
antirez [Tue, 12 Jan 2010 20:23:52 +0000 (15:23 -0500)]
support for blocking VM in config file
antirez [Tue, 12 Jan 2010 20:09:11 +0000 (15:09 -0500)]
more non blocking VM changes
antirez [Tue, 12 Jan 2010 15:01:59 +0000 (10:01 -0500)]
fix for test #11
antirez [Tue, 12 Jan 2010 14:57:00 +0000 (09:57 -0500)]
a few more stuff in INFO about VM. Test #11 changed a bit in order to be less lame
antirez [Tue, 12 Jan 2010 12:27:54 +0000 (07:27 -0500)]
Added a define to configure how many completed IO jobs the handler should process at every call.
antirez [Tue, 12 Jan 2010 00:47:18 +0000 (19:47 -0500)]
Fixed a bug in the IO Job canceling funtion
antirez [Mon, 11 Jan 2010 22:26:58 +0000 (17:26 -0500)]
more steps towards a working non blocking VM
antirez [Mon, 11 Jan 2010 18:10:43 +0000 (13:10 -0500)]
converted random printfs in debug logs
antirez [Mon, 11 Jan 2010 17:54:29 +0000 (12:54 -0500)]
removed a bug introduced with non blocking VM
antirez [Mon, 11 Jan 2010 17:45:15 +0000 (12:45 -0500)]
a few non blocking VM bugs fixed
antirez [Mon, 11 Jan 2010 16:42:15 +0000 (11:42 -0500)]
More work on non-blocking VM. Should work in a few days
antirez [Mon, 11 Jan 2010 10:15:54 +0000 (05:15 -0500)]
More threaded I/O VM work + Redis init script
antirez [Sun, 10 Jan 2010 16:23:01 +0000 (11:23 -0500)]
more work on VM threaded I/O. Still nothing of usable
antirez [Sat, 9 Jan 2010 17:46:52 +0000 (12:46 -0500)]
non-blocking VM data structures, just a start
antirez [Fri, 8 Jan 2010 15:38:48 +0000 (10:38 -0500)]
used_memory_human added to INFO output. Human readable amount of memory used.