]>
git.saurik.com Git - redis.git/log
antirez [Sat, 17 Apr 2010 09:35:05 +0000 (11:35 +0200)]
Added support for Guru Mediation, and raising a guru mediation if refCount <= 0 but decrRefCount is called against such an object
Pieter Noordhuis [Fri, 16 Apr 2010 15:55:57 +0000 (17:55 +0200)]
fix small error and memory leaks in SORT
antirez [Fri, 16 Apr 2010 15:00:27 +0000 (17:00 +0200)]
SORT/GET test added
antirez [Fri, 16 Apr 2010 14:23:10 +0000 (16:23 +0200)]
Added tests for GET/BY against hashes fields
antirez [Fri, 16 Apr 2010 13:53:44 +0000 (15:53 +0200)]
Merge branch 'hash-refactor' of git://github.com/pietern/redis
Pieter Noordhuis [Fri, 16 Apr 2010 11:37:40 +0000 (13:37 +0200)]
check object type in lookupKeyByPattern
Pieter Noordhuis [Fri, 16 Apr 2010 11:31:17 +0000 (13:31 +0200)]
make sortCommand aware that lookupKeyByPattern always increased the refcount of the returned value
Pieter Noordhuis [Fri, 16 Apr 2010 11:20:12 +0000 (13:20 +0200)]
revert 0c390a to stop using tricks with o->refcount
Pieter Noordhuis [Fri, 16 Apr 2010 10:48:48 +0000 (12:48 +0200)]
store the hash iterator on the heap instead of the stack
Pieter Noordhuis [Fri, 16 Apr 2010 10:13:41 +0000 (12:13 +0200)]
drop inline directive
Pieter Noordhuis [Fri, 16 Apr 2010 10:12:50 +0000 (12:12 +0200)]
rename hashReplace to hashSet
antirez [Fri, 16 Apr 2010 08:04:51 +0000 (10:04 +0200)]
added dictFetchValue() to dict.c to make hash table API a bit less verbose in the common cases
Konstantin Merenkov [Fri, 2 Apr 2010 20:12:10 +0000 (00:12 +0400)]
Don't set expire to keys with ttl=0, remove them immediately.
Pieter Noordhuis [Thu, 15 Apr 2010 18:55:34 +0000 (20:55 +0200)]
make sure that cmpobj is in decoded form when sorting by ALPHA (this solves edge case from previous commit where (!sortby && alpha) == 1)
Pieter Noordhuis [Thu, 15 Apr 2010 15:31:13 +0000 (17:31 +0200)]
enable hash dereference in SORT on BY and GET
Pieter Noordhuis [Thu, 15 Apr 2010 13:38:48 +0000 (15:38 +0200)]
use shared replies for hset
Pieter Noordhuis [Thu, 15 Apr 2010 13:06:57 +0000 (15:06 +0200)]
set refcount of string objects retrieved from zipmaps to 0, so we don't have to touch the refcount of the objects inside dicts
Pieter Noordhuis [Thu, 15 Apr 2010 10:48:13 +0000 (12:48 +0200)]
added HSETNX
Pieter Noordhuis [Tue, 13 Apr 2010 22:22:44 +0000 (00:22 +0200)]
refactor of hash commands to use specialized api that abstracts zipmap and dict apis
Pieter Noordhuis [Tue, 13 Apr 2010 19:25:11 +0000 (21:25 +0200)]
move retrieval of long up to prevent an empty hash from being created
antirez [Thu, 15 Apr 2010 17:13:14 +0000 (19:13 +0200)]
more advanced leaks detection in test redis
antirez [Thu, 15 Apr 2010 16:32:44 +0000 (18:32 +0200)]
ability to select port/host from make test
antirez [Thu, 15 Apr 2010 16:07:57 +0000 (18:07 +0200)]
Active rehashing
antirez [Thu, 15 Apr 2010 09:59:13 +0000 (11:59 +0200)]
Incrementally rehahsing hash table! Thanks to Derek Collison and Pieter Noordhuis for feedbacks/help
antirez [Wed, 14 Apr 2010 10:12:25 +0000 (12:12 +0200)]
Does not allow commands other than Pub/Sub commands when there is at least one pattern
Alex McHale [Tue, 13 Apr 2010 16:48:33 +0000 (11:48 -0500)]
Fixed a tiny memory leak when loading the configuration file.
antirez [Tue, 13 Apr 2010 16:30:55 +0000 (18:30 +0200)]
Merge branch 'hmget' of git://github.com/pietern/redis
Alex McHale [Mon, 29 Mar 2010 20:24:39 +0000 (15:24 -0500)]
Validate numeric inputs.
Alex McHale [Wed, 24 Mar 2010 14:15:24 +0000 (09:15 -0500)]
Remove trailing whitespace.
antirez [Mon, 12 Apr 2010 14:03:41 +0000 (16:03 +0200)]
Now all the commands returning a multi bulk reply against non existing keys will return an empty multi bulk, not a nil one
Pieter Noordhuis [Mon, 12 Apr 2010 12:53:25 +0000 (14:53 +0200)]
implemented HMGET
Pieter Noordhuis [Mon, 12 Apr 2010 10:29:37 +0000 (12:29 +0200)]
implemented HMSET
antirez [Mon, 12 Apr 2010 09:38:08 +0000 (11:38 +0200)]
Sharing of small integer objects: may save a lot of memory with datasets having many of this
antirez [Sat, 10 Apr 2010 09:14:11 +0000 (11:14 +0200)]
dict.c fixed to play well with enabling/disabling of the hash table
antirez [Fri, 9 Apr 2010 16:35:24 +0000 (18:35 +0200)]
removed a no longer true assert in the VM code
antirez [Fri, 9 Apr 2010 15:13:39 +0000 (17:13 +0200)]
shareobjects feautres killed - no gains most of the time, but VM complexities
antirez [Fri, 9 Apr 2010 15:02:56 +0000 (17:02 +0200)]
use directly the real key object in VM I/O jobs to match by pointer, and to handle different keys with the same name living in different DBs, but being at the same moment in the IO job queues
antirez [Thu, 8 Apr 2010 18:18:42 +0000 (20:18 +0200)]
last change reverted as it was unstable... more testing needed
antirez [Thu, 8 Apr 2010 18:08:51 +0000 (20:08 +0200)]
Prevent hash table resize while there are active child processes in order to play well with copy on write
antirez [Thu, 8 Apr 2010 14:07:26 +0000 (16:07 +0200)]
Merge branch 'issue_218' of git://github.com/pietern/redis
antirez [Thu, 8 Apr 2010 14:07:18 +0000 (16:07 +0200)]
-1 not needed...
antirez [Thu, 8 Apr 2010 13:56:21 +0000 (15:56 +0200)]
Skiplist theoretical fix
antirez [Wed, 7 Apr 2010 15:36:44 +0000 (17:36 +0200)]
Now when a child is terminated by a signal, the signal number is logged as well
antirez [Wed, 7 Apr 2010 11:55:06 +0000 (13:55 +0200)]
First version of evented Redis Tcl client, that will be used for BLPOP and Pub/Sub tests
Pieter Noordhuis [Mon, 5 Apr 2010 14:51:48 +0000 (16:51 +0200)]
use long long reply type for HINCRBY
Pieter Noordhuis [Mon, 5 Apr 2010 14:51:34 +0000 (16:51 +0200)]
last argument is never encoded for HINCRBY
antirez [Fri, 2 Apr 2010 14:42:15 +0000 (16:42 +0200)]
Now PUBLISH commands are replicated to slaves
Pieter Noordhuis [Thu, 1 Apr 2010 20:07:50 +0000 (22:07 +0200)]
use the right object when cleaning up after zunion/zinter (fixes issue 216)
antirez [Thu, 1 Apr 2010 16:48:14 +0000 (18:48 +0200)]
Merge branch 'zipmap' of git://github.com/pietern/redis
Pieter Noordhuis [Thu, 1 Apr 2010 12:31:13 +0000 (14:31 +0200)]
reduce code complexity because zipmapLen now is O(1)
Pieter Noordhuis [Thu, 1 Apr 2010 12:02:22 +0000 (14:02 +0200)]
update the zipmap entry in-place instead of appending it
Pieter Noordhuis [Thu, 1 Apr 2010 11:24:18 +0000 (13:24 +0200)]
updated zipmap documentation to match the implementation
Pieter Noordhuis [Thu, 1 Apr 2010 11:15:32 +0000 (13:15 +0200)]
allow 4 free trailing bytes for each value
antirez [Thu, 1 Apr 2010 11:13:29 +0000 (13:13 +0200)]
Pub/Sub pattern matching capabilities
Pieter Noordhuis [Thu, 1 Apr 2010 10:58:08 +0000 (12:58 +0200)]
use function to determine length of a single entry
antirez [Wed, 31 Mar 2010 17:49:12 +0000 (19:49 +0200)]
Deny EXEC under out of memory
antirez [Mon, 29 Mar 2010 15:48:13 +0000 (17:48 +0200)]
No timeouts nor other commands for clients in a Pub/Sub context
antirez [Mon, 29 Mar 2010 10:33:41 +0000 (12:33 +0200)]
free hash table entries about no longer active classes, so that PUBSUB can be abused with millions of different classes
antirez [Mon, 29 Mar 2010 10:23:02 +0000 (12:23 +0200)]
Fixed a refcount stuff leading to PUBSUB crashes
antirez [Mon, 29 Mar 2010 10:14:34 +0000 (12:14 +0200)]
fmacros added to linenoise, avoiding all the nice warnings...
antirez [Mon, 29 Mar 2010 10:13:35 +0000 (12:13 +0200)]
First pubsub fix
antirez [Mon, 29 Mar 2010 09:47:58 +0000 (11:47 +0200)]
PUBSUB implemented
antirez [Mon, 29 Mar 2010 06:38:23 +0000 (08:38 +0200)]
Redis version is now 1.3.8
Pieter Noordhuis [Sun, 28 Mar 2010 21:10:01 +0000 (23:10 +0200)]
removed references in code to ZIPMAP_EMPTY
Pieter Noordhuis [Sun, 28 Mar 2010 21:07:32 +0000 (23:07 +0200)]
use first byte of zipmap to store length
Pieter Noordhuis [Sun, 28 Mar 2010 20:59:15 +0000 (22:59 +0200)]
implemented strategy that doesn't use free blocks in zipmaps
antirez [Fri, 26 Mar 2010 16:08:47 +0000 (17:08 +0100)]
Merge branch 'hincrby' of git://github.com/pietern/redis
Pieter Noordhuis [Fri, 26 Mar 2010 15:45:41 +0000 (16:45 +0100)]
removed unnecessary refcount increase that caused the HINCRBY memleak
Pieter Noordhuis [Fri, 26 Mar 2010 15:03:19 +0000 (16:03 +0100)]
implements HINCRBY and tests (todo: find and fix small memleak)
antirez [Fri, 26 Mar 2010 10:21:11 +0000 (11:21 +0100)]
Removed a useless if spotted by Pieter Noordhuis
antirez [Fri, 26 Mar 2010 09:56:27 +0000 (10:56 +0100)]
Fixed a critical replication bug: binary values issued with the multi bulk protocol caused a protocol desync with slaves.
antirez [Wed, 24 Mar 2010 20:58:34 +0000 (21:58 +0100)]
Fixed the reply about denied write commands under maxmemory reached condition: now the error will no longer lead to a client-server protocol desync
antirez [Wed, 24 Mar 2010 20:46:51 +0000 (21:46 +0100)]
CONFIG command implemened -- just a start but already useful
antirez [Wed, 24 Mar 2010 10:58:38 +0000 (11:58 +0100)]
redis-cli prompt is now redis>
antirez [Tue, 23 Mar 2010 19:04:55 +0000 (20:04 +0100)]
with --help states that you can use - as config file name to feed config via stdin
antirez [Tue, 23 Mar 2010 18:40:13 +0000 (19:40 +0100)]
New INFO field: expired_keys
antirez [Tue, 23 Mar 2010 18:15:02 +0000 (19:15 +0100)]
the Cron timer function is now called 10 times per second instead of 1 time per second to make Redis more responsibe to BGSAVE and to delete expired keys more incrementally
Michel Martens [Tue, 23 Mar 2010 14:25:32 +0000 (11:25 -0300)]
Use linenoise for line editing on redis-cli.
Michel Martens & Damian Janowski [Tue, 23 Mar 2010 13:54:49 +0000 (10:54 -0300)]
Fix authentication for redis-cli on non-interactive mode.
antirez [Tue, 23 Mar 2010 11:29:35 +0000 (12:29 +0100)]
key deletion on empty value fix + some refactoring
antirez [Tue, 23 Mar 2010 11:15:44 +0000 (12:15 +0100)]
Empty value trigger key removal in all the operations
antirez [Mon, 22 Mar 2010 16:31:46 +0000 (17:31 +0100)]
Merged gnrfan patches fixing issues 191, 193, 194
antirez [Mon, 22 Mar 2010 16:29:20 +0000 (17:29 +0100)]
Merge branch 'issue_193' of git://github.com/gnrfan/redis
antirez [Mon, 22 Mar 2010 16:29:09 +0000 (17:29 +0100)]
Merge branch 'issue_191' of git://github.com/gnrfan/redis
antirez [Mon, 22 Mar 2010 16:08:29 +0000 (17:08 +0100)]
Redis master version is now 1.3.7
Jeremy Zawodny [Sat, 20 Mar 2010 05:24:17 +0000 (22:24 -0700)]
support for include directive in config parser
antirez [Fri, 19 Mar 2010 18:02:24 +0000 (19:02 +0100)]
Removed a stupid overriding of config values due to a wrong cut&paste
antirez [Fri, 19 Mar 2010 17:02:37 +0000 (18:02 +0100)]
VM hash type swappability implemented. Handling of failed pthread_create() call.
Antonio Ognio [Fri, 19 Mar 2010 09:19:42 +0000 (04:19 -0500)]
Solving issue #191 on Google Code: -v and --version should print the version of Redis
Antonio Ognio [Fri, 19 Mar 2010 06:49:09 +0000 (01:49 -0500)]
Solves issue #194 on Google Code: --help parameter to redis-srver prints the usage message
Antonio Ognio [Fri, 19 Mar 2010 06:01:08 +0000 (01:01 -0500)]
Fixing issue 193
antirez [Thu, 18 Mar 2010 17:56:07 +0000 (18:56 +0100)]
increment server.dirty on HDEL
antirez [Thu, 18 Mar 2010 15:55:49 +0000 (16:55 +0100)]
Redis 1.3.6
antirez [Thu, 18 Mar 2010 02:27:08 +0000 (03:27 +0100)]
test-redis.tcl dataset digest function Hash support
antirez [Thu, 18 Mar 2010 02:23:44 +0000 (03:23 +0100)]
zipmap fix for large values
antirez [Thu, 18 Mar 2010 02:06:08 +0000 (03:06 +0100)]
Optimization fixed and re-activated
antirez [Thu, 18 Mar 2010 01:59:28 +0000 (02:59 +0100)]
reverted an optimization that makes Redis not stable
antirez [Thu, 18 Mar 2010 01:51:09 +0000 (02:51 +0100)]
Fixed redis-cli auth code
antirez [Wed, 17 Mar 2010 18:26:53 +0000 (19:26 +0100)]
HDEL fix, an optimization for comparison of objects in hash table lookups when they are integer encoding
antirez [Wed, 17 Mar 2010 17:30:15 +0000 (18:30 +0100)]
Version is now 1.3.5