]>
git.saurik.com Git - redis.git/log
Pieter Noordhuis [Fri, 7 May 2010 10:59:34 +0000 (12:59 +0200)]
add sanity check to zunionInterBlockClientOnSwappedKeys, as the number of keys used is provided as argument to the function
Pieter Noordhuis [Fri, 7 May 2010 10:58:44 +0000 (12:58 +0200)]
make prototype of custom function to preload keys from the vm match the prototype of waitForMultipleSwappedKeys
Pieter Noordhuis [Fri, 7 May 2010 10:45:27 +0000 (12:45 +0200)]
extract preloading of multiple keys according to the command prototype to a separate function
Pieter Noordhuis [Fri, 7 May 2010 09:55:12 +0000 (11:55 +0200)]
make append only filename configurable
Pieter Noordhuis [Fri, 7 May 2010 09:40:26 +0000 (11:40 +0200)]
don't load value from VM for EXISTS
antirez [Fri, 7 May 2010 07:36:37 +0000 (09:36 +0200)]
swap file name pid expansion removed. Not suited for mission critical software...
antirez [Fri, 7 May 2010 07:32:26 +0000 (09:32 +0200)]
Swap file is now locked
antirez [Thu, 6 May 2010 21:19:46 +0000 (23:19 +0200)]
Merge branch 'master' into aof-speedup
Pieter Noordhuis [Thu, 6 May 2010 20:00:04 +0000 (22:00 +0200)]
log error and quit when the AOF contains an unfinished MULTI
Pieter Noordhuis [Thu, 6 May 2010 18:35:00 +0000 (20:35 +0200)]
hincrby should report an error when called against a hash key that doesn't contain an integer
antirez [Thu, 6 May 2010 18:16:14 +0000 (20:16 +0200)]
AOF writes are now accumulated into a buffer and flushed into disk just before re-entering the event loop. A lot less writes but still this guarantees that AOF is written before the client gets a positive reply about a write operation, as no reply is trasnmitted before re-entering into the event loop.
antirez [Thu, 6 May 2010 16:04:51 +0000 (18:04 +0200)]
clarified a few messages in redis.conf
antirez [Sun, 2 May 2010 13:11:05 +0000 (15:11 +0200)]
included fmacros.h in linenose.c to avoid compilation warnings on Linux
antirez [Sun, 2 May 2010 13:08:06 +0000 (15:08 +0200)]
compilation fix for mac os x
antirez [Sun, 2 May 2010 13:06:06 +0000 (15:06 +0200)]
Merge branch 'master' of git@github.com:antirez/redis
antirez [Sun, 2 May 2010 13:05:34 +0000 (15:05 +0200)]
On Linux now fdatasync() is used insetad of fsync() in order to flush the AOF file kernel buffers
antirez [Fri, 30 Apr 2010 09:52:36 +0000 (11:52 +0200)]
More tests for APPEND and tests for SUBSTR
antirez [Fri, 30 Apr 2010 07:21:48 +0000 (09:21 +0200)]
linenoise.c updated, now redis-cli can be used in a pipe
antirez [Thu, 29 Apr 2010 18:13:23 +0000 (20:13 +0200)]
redis-cli minor fix (less segfault is better)
antirez [Thu, 29 Apr 2010 16:43:51 +0000 (18:43 +0200)]
New MONITOR output format with timestamp, every command in a single line, string representations
antirez [Thu, 29 Apr 2010 16:07:35 +0000 (18:07 +0200)]
redis-cli INFO output format is now raw again
antirez [Thu, 29 Apr 2010 13:39:11 +0000 (15:39 +0200)]
Added more information about slave election in Redis Cluster alternative doc
antirez [Thu, 29 Apr 2010 09:00:19 +0000 (11:00 +0200)]
Redis cluster version 2
antirez [Tue, 27 Apr 2010 16:06:52 +0000 (18:06 +0200)]
Fixed a redis-cli bug, was using free instead of zfree call
antirez [Tue, 27 Apr 2010 14:58:08 +0000 (16:58 +0200)]
AOF is now rewritten on slave after SYNC with master. Thanks to @_km for finding this bug and any others'
antirez [Tue, 27 Apr 2010 14:21:15 +0000 (16:21 +0200)]
redis-cli is now using only the new protocol
antirez [Tue, 27 Apr 2010 14:07:31 +0000 (16:07 +0200)]
Minimal support for subscribe/psubscribe in redis-cli
antirez [Mon, 26 Apr 2010 17:56:16 +0000 (19:56 +0200)]
don't output the newline when stdout is not a tty
antirez [Mon, 26 Apr 2010 16:54:55 +0000 (18:54 +0200)]
redis-cli now is able to also output the string representation instead of the raw string. Much better for debugging
antirez [Mon, 26 Apr 2010 16:39:39 +0000 (18:39 +0200)]
Initial support for quoted strings in redis-cli
antirez [Fri, 23 Apr 2010 17:07:33 +0000 (19:07 +0200)]
SETEX implemented
antirez [Fri, 23 Apr 2010 13:36:00 +0000 (15:36 +0200)]
Pub/Sub API change: now messages received via pattern matching have a different message type and an additional field representing the original pattern the message matched
antirez [Thu, 22 Apr 2010 18:24:00 +0000 (20:24 +0200)]
typo fixed, reloaded
antirez [Thu, 22 Apr 2010 18:20:41 +0000 (20:20 +0200)]
typo fixed
antirez [Thu, 22 Apr 2010 17:46:39 +0000 (19:46 +0200)]
REDIS-CLUSTER doc updated
antirez [Thu, 22 Apr 2010 16:04:50 +0000 (18:04 +0200)]
Virtual memory design document removed, no longer needed as we have a full specification and implementation
antirez [Thu, 22 Apr 2010 13:09:07 +0000 (15:09 +0200)]
new units for bytes specification
antirez [Thu, 22 Apr 2010 10:05:51 +0000 (12:05 +0200)]
Now in redis.conf it is possible to specify units where appropriate instead of amounts of bytes, like 2Gi or 4M and so forth
antirez [Wed, 21 Apr 2010 09:31:29 +0000 (11:31 +0200)]
binary safe keys ready implementation of RANDOMKEYS
antirez [Wed, 21 Apr 2010 08:31:48 +0000 (10:31 +0200)]
Now that's the right 1.3.10
antirez [Wed, 21 Apr 2010 08:31:16 +0000 (10:31 +0200)]
Revert "fsync always now uses O_DIRECT on Linux"
This reverts commit
566c3c7a22c0ec217c40f7a95db2bb83c8cc16c7 .
antirez [Wed, 21 Apr 2010 08:31:08 +0000 (10:31 +0200)]
Revert "define __USE_GNU to get O_DIRECT"
This reverts commit
122c04983400a076423811740f2b87163ea95c00 .
antirez [Wed, 21 Apr 2010 08:30:36 +0000 (10:30 +0200)]
Merge branch 'master' of github.com:antirez/redis
antirez [Wed, 21 Apr 2010 08:29:24 +0000 (10:29 +0200)]
Revert "version 1.3.10"
This reverts commit
188714211af246b96f46a2e598c66fee95c52375 .
antirez [Wed, 21 Apr 2010 07:54:21 +0000 (09:54 +0200)]
version 1.3.10
antirez [Tue, 20 Apr 2010 16:29:06 +0000 (18:29 +0200)]
define __USE_GNU to get O_DIRECT
antirez [Tue, 20 Apr 2010 16:25:30 +0000 (18:25 +0200)]
fsync always now uses O_DIRECT on Linux
antirez [Tue, 20 Apr 2010 09:01:36 +0000 (11:01 +0200)]
More precise memory used guesswork in zmalloc.c
antirez [Mon, 19 Apr 2010 16:30:11 +0000 (18:30 +0200)]
Fix for MULTI/EXEC and Replication/AOF: now the block is correctly sent as MULTI/..writing operations../EXEC. Ok for slaves but more work needed for the AOF as it should be a write-all-or-nothing business
antirez [Mon, 19 Apr 2010 14:11:13 +0000 (16:11 +0200)]
running the test using tcl8.5 directly instead of tclsh that too often it's a symlink to 8.4
antirez [Mon, 19 Apr 2010 09:05:08 +0000 (11:05 +0200)]
Added package require Tcl 8.5 in redis.tcl so it will show a clear error when the test suit is attempted to run under 8.4
antirez [Sun, 18 Apr 2010 15:51:15 +0000 (17:51 +0200)]
Fix for a SORT bug introduced with commit
16fa22f1 , regression test added
antirez [Sat, 17 Apr 2010 22:03:49 +0000 (00:03 +0200)]
Guru mediation -> meditation
Pieter Noordhuis [Fri, 16 Apr 2010 12:42:14 +0000 (14:42 +0200)]
check eptr inline
Pieter Noordhuis [Fri, 16 Apr 2010 12:35:52 +0000 (14:35 +0200)]
refactor code that retrieves value from object or replies to client
antirez [Sat, 17 Apr 2010 10:54:49 +0000 (12:54 +0200)]
Merge branch 'hash' of git://github.com/pietern/redis
antirez [Sat, 17 Apr 2010 10:54:40 +0000 (12:54 +0200)]
redisAssert(0) => redisPanic("something meaningful")
Pieter Noordhuis [Sat, 17 Apr 2010 10:46:23 +0000 (12:46 +0200)]
make sure that the resulting value in hincrby is encoded when possible
Pieter Noordhuis [Sat, 17 Apr 2010 10:35:22 +0000 (12:35 +0200)]
increment dirty counter after hmset
Pieter Noordhuis [Sat, 17 Apr 2010 10:33:43 +0000 (12:33 +0200)]
strip tryObjectEncoding from hashSet, to enable the arguments being encoded in-place
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