]>
git.saurik.com Git - redis.git/log
antirez [Wed, 9 Nov 2011 17:05:35 +0000 (18:05 +0100)]
TTL, EXPIRE and EXPIREAT now support the milliseconds input/output form
antirez [Wed, 9 Nov 2011 16:20:14 +0000 (17:20 +0100)]
use "EXPIREAT ... ms" form when rewriting the AOF
antirez [Wed, 9 Nov 2011 15:51:19 +0000 (16:51 +0100)]
Initial support for key expire times with millisecond resolution. RDB version is now 3, new opcoded added for high resolution times. Redis is still able to correctly load RDB version 2. Tests passing but still a work in progress. API to specify milliseconds expires still missing, but the precision of normal expires is now already improved and working.
antirez [Wed, 9 Nov 2011 12:39:59 +0000 (13:39 +0100)]
dict set/get macros for integers fixed.
antirez [Tue, 8 Nov 2011 23:03:03 +0000 (00:03 +0100)]
added mstime() to get UNIX time in milliseconds.
antirez [Tue, 8 Nov 2011 22:59:46 +0000 (23:59 +0100)]
dict.c: added macros to get signed/unsigned integer values from hash
entry. Field name of hash entry union modified for clarity.
antirez [Tue, 8 Nov 2011 20:00:52 +0000 (21:00 +0100)]
32bit build fixed, broken by a previous commit fixing build on Solaris
antirez [Tue, 8 Nov 2011 18:41:29 +0000 (19:41 +0100)]
dict.c: added macros in dict.h to set signed and unsigned 64 bit values directly inside the hash entry without using additional memory.
antirez [Tue, 8 Nov 2011 16:07:55 +0000 (17:07 +0100)]
dict.c API names modified to be more coincise and consistent.
antirez [Tue, 8 Nov 2011 15:57:20 +0000 (16:57 +0100)]
dict.c: added two lower level methods for directly manipulating hash entries. This is useful in order to set 64 bit integers as values directly inside the hash entry (in order to save memory), without casting, and even in 32 bit builds.
antirez [Tue, 8 Nov 2011 15:15:08 +0000 (16:15 +0100)]
Merge branch 'unstable' into ttlres
antirez [Tue, 8 Nov 2011 10:26:06 +0000 (11:26 +0100)]
useless double if removed.
antirez [Tue, 8 Nov 2011 10:24:12 +0000 (11:24 +0100)]
yet another #if REDIS_MBULK_BIG_ARG removed.
antirez [Tue, 8 Nov 2011 10:22:40 +0000 (11:22 +0100)]
Multi bulk optimization for creating big objects without copying data is no longer optional, #ifdefs removed. Also debugging messages removed.
antirez [Tue, 8 Nov 2011 09:59:35 +0000 (10:59 +0100)]
hiredis/redis changes for speed with big payloads: read buffer size set
to 16k, request buffer size is no longer destroyed when emtpy and large
(better fix needed). Redis clients static output buffer set to 16k as
well.
antirez [Mon, 7 Nov 2011 16:18:50 +0000 (17:18 +0100)]
speed-regression.tcl: command line options to select tests, data size, and number of requests.
antirez [Mon, 7 Nov 2011 15:52:55 +0000 (16:52 +0100)]
speed-regression.tcl: move tests, data size, requests in global vars that will be changed via command line options.
antirez [Mon, 7 Nov 2011 15:00:15 +0000 (16:00 +0100)]
speed-regression.tcl script: killing previously tested instance fixed. Don't run if there is already an instance running in the same port.
antirez [Mon, 7 Nov 2011 14:35:01 +0000 (15:35 +0100)]
speed-regression.tcl script: obtain test names dynamically.
antirez [Mon, 7 Nov 2011 10:29:37 +0000 (11:29 +0100)]
redis-benchmark: ability to run selected tests. Better help with examples.
antirez [Fri, 4 Nov 2011 19:45:46 +0000 (20:45 +0100)]
first version of the speed regression test
antirez [Fri, 4 Nov 2011 13:49:24 +0000 (14:49 +0100)]
csv output for redis-benchmark
antirez [Fri, 4 Nov 2011 10:20:19 +0000 (11:20 +0100)]
PING / MSET benchmarks enabled again.
antirez [Fri, 4 Nov 2011 10:18:15 +0000 (11:18 +0100)]
A comment moved a few lines for clarity.
antirez [Fri, 4 Nov 2011 10:16:11 +0000 (11:16 +0100)]
Added a define to set the size threshold to enable the multi bulk parsing big objects optimization.
antirez [Thu, 3 Nov 2011 14:53:40 +0000 (15:53 +0100)]
further optimizations for the multi bulk protocol parsing code when big objects are transmitted to Redis.
antirez [Wed, 2 Nov 2011 16:30:19 +0000 (17:30 +0100)]
optimized object creation in multi-bulk protocol parsing
antirez [Wed, 2 Nov 2011 15:52:45 +0000 (16:52 +0100)]
sdsIncrLen() / sdsMakeRoomFor() used to avoid copying to intermediate buffer while reading the client query.
antirez [Wed, 2 Nov 2011 15:52:10 +0000 (16:52 +0100)]
testhelp.h now exits with retcode 1 on failed tests.
antirez [Wed, 2 Nov 2011 15:51:33 +0000 (16:51 +0100)]
I/O buffer length enlarged
antirez [Wed, 2 Nov 2011 15:50:59 +0000 (16:50 +0100)]
sdsMakeRoomFor() exposed as public API. sdsIncrLen() added. Both the changes make it possible to copy stuff from a system call to an sds buffer without the need of an additional buffer and copying overhead.
antirez [Wed, 2 Nov 2011 15:09:14 +0000 (16:09 +0100)]
added a comment to sdsMakeRoomFor() to make it clear what the function actually does.
antirez [Wed, 2 Nov 2011 14:28:45 +0000 (15:28 +0100)]
added an union in the dict.h structure to store 64 bit integers directly into hash table entries.
antirez [Mon, 31 Oct 2011 15:09:07 +0000 (16:09 +0100)]
Script max execution time test disabled for now since it is no longer enforced.
antirez [Mon, 31 Oct 2011 14:47:12 +0000 (15:47 +0100)]
removed the vmpointer structure that is no longer user in Redis >= 2.5.x
antirez [Mon, 31 Oct 2011 14:43:09 +0000 (15:43 +0100)]
use timeout 0 by default, as this is a common source of problems.
Salvatore Sanfilippo [Mon, 31 Oct 2011 10:21:09 +0000 (03:21 -0700)]
Merge pull request #170 from bnoordhuis/fix-sunos-build
build: fix sunos build, compile lua with __C99FEATURES__=1
antirez [Mon, 31 Oct 2011 10:17:21 +0000 (11:17 +0100)]
added more clarifications in redis.conf about ther right value to set as replication timeout.
antirez [Mon, 31 Oct 2011 10:14:24 +0000 (11:14 +0100)]
Herbert G. Fischer [Tue, 18 Oct 2011 21:01:30 +0000 (19:01 -0200)]
fixed typo in comments
antirez [Mon, 31 Oct 2011 10:13:28 +0000 (11:13 +0100)]
antirez [Mon, 31 Oct 2011 09:48:41 +0000 (10:48 +0100)]
maxclients configuration is now implemented dealing with the actual process rlimits. Setting maxclients to 0 no longer makes sense and is now invalid, the new default is 10000.
See issue #162 for more information.
antirez [Mon, 31 Oct 2011 08:57:06 +0000 (09:57 +0100)]
It is now possible to disable password authentication via CONFIG SET. Thanks to Jan Oberst. This closes issue #171.
Ben Noordhuis [Sun, 30 Oct 2011 03:20:00 +0000 (03:20 +0000)]
build: fix sunos build, compile lua with __C99FEATURES__=1
antirez [Fri, 28 Oct 2011 15:43:04 +0000 (17:43 +0200)]
Fixed a memory leak in redis-cli.c
antirez [Fri, 28 Oct 2011 15:31:40 +0000 (17:31 +0200)]
sds.c single quotes support
antirez [Thu, 27 Oct 2011 18:56:12 +0000 (20:56 +0200)]
use the more generic -BUSY error for idle scripts
antirez [Thu, 27 Oct 2011 12:49:10 +0000 (14:49 +0200)]
If a Lua script executes for more time than the max time specified in the configuration Redis will log a warning, and will start accepting queries (re-entering the event loop), returning -SLOWSCRIPT error for all the commands but SHUTDOWN that remains callable.
Nathan Florea [Fri, 21 Oct 2011 01:20:58 +0000 (18:20 -0700)]
Set errno to 0 before calling strtol.
antirez [Wed, 26 Oct 2011 10:53:30 +0000 (12:53 +0200)]
Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue #161, probably fixing 159 as well.
antirez [Tue, 25 Oct 2011 17:54:10 +0000 (19:54 +0200)]
Don't timeout scripts if the instance is a slave.
antirez [Tue, 25 Oct 2011 12:46:15 +0000 (14:46 +0200)]
SCRIPT LOAD now returns the SHA1 instead of +OK
antirez [Tue, 25 Oct 2011 10:10:15 +0000 (12:10 +0200)]
Lau scripts default max execution time set to 5 seconds.
antirez [Tue, 25 Oct 2011 09:19:15 +0000 (11:19 +0200)]
Fixes for the scripting refactoring and new commands. Tests for the new features.
antirez [Tue, 25 Oct 2011 08:25:59 +0000 (10:25 +0200)]
SCRIPT LOAD implemented, scripting eval command refactoring.
antirez [Mon, 24 Oct 2011 20:47:00 +0000 (22:47 +0200)]
SCRIPT command for introspection and control of the scripting environment.
antirez [Sun, 23 Oct 2011 10:28:31 +0000 (12:28 +0200)]
Better installation info inside README file.
antirez [Sun, 23 Oct 2011 10:16:07 +0000 (12:16 +0200)]
removed a few entries for gitignore
antirez [Sun, 23 Oct 2011 08:57:01 +0000 (10:57 +0200)]
Fixed a few warnings compiling on Linux.
antirez [Sun, 23 Oct 2011 08:42:16 +0000 (10:42 +0200)]
A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32 bit builds under Linux.
antirez [Thu, 20 Oct 2011 14:02:23 +0000 (16:02 +0200)]
Redis.call is now split into two variants of the same function. Redis.call will raise an error by default. Redis.pcall will return the error object instead.
antirez [Thu, 20 Oct 2011 09:18:10 +0000 (11:18 +0200)]
Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez [Thu, 20 Oct 2011 09:17:30 +0000 (11:17 +0200)]
use signalModifiedKey to set the key as dirty in the context of WATCH for both MIGRATE and RESTORE.
Salvatore Sanfilippo [Thu, 20 Oct 2011 07:53:22 +0000 (00:53 -0700)]
Merge pull request #147 from janoberst/unstable
Cleaned up redis root directory a tiny bit and changed links to github issues
antirez [Wed, 19 Oct 2011 14:57:54 +0000 (16:57 +0200)]
Lua cjson include paths now use the local includes.
antirez [Wed, 19 Oct 2011 14:42:35 +0000 (16:42 +0200)]
Merge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 19 Oct 2011 14:42:10 +0000 (16:42 +0200)]
JSON support for Lua scripting, based on work from @lp, thanks!. We are using the good and fast cjson by Mark Pulford.
Jan Oberst [Tue, 18 Oct 2011 18:28:23 +0000 (14:28 -0400)]
Switched issues URL to Github in BUGS
Jan Oberst [Tue, 18 Oct 2011 18:28:07 +0000 (14:28 -0400)]
Actually let's just cpy over the README from stable. Missed the updated version there.
Jan Oberst [Tue, 18 Oct 2011 18:14:16 +0000 (14:14 -0400)]
Cleaned up redis root directory and changed links for redis.io and github issues and pull requests
Salvatore Sanfilippo [Tue, 18 Oct 2011 12:13:25 +0000 (05:13 -0700)]
Merge pull request #146 from smly/fixed-redis-check-dump
Memory leak in redis-check-dump
smly [Tue, 18 Oct 2011 11:18:26 +0000 (20:18 +0900)]
Fixed a small memory leak I found with valgrind
antirez [Tue, 18 Oct 2011 09:09:32 +0000 (11:09 +0200)]
Return from syncWithMaster() ASAP if the event fired but the instance is no longer a slave. This should fix Issue #145.
antirez [Mon, 17 Oct 2011 15:35:23 +0000 (17:35 +0200)]
First implementation of the ASKING command. Semantics still to verify.
antirez [Mon, 17 Oct 2011 14:44:08 +0000 (16:44 +0200)]
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
antirez [Mon, 17 Oct 2011 14:39:05 +0000 (16:39 +0200)]
Fixed a typo causing segfault on MIGRATE
antirez [Mon, 17 Oct 2011 08:40:11 +0000 (10:40 +0200)]
Regression test for issue #142 added
antirez [Mon, 17 Oct 2011 08:28:57 +0000 (10:28 +0200)]
FLUSHALL now prevents rdbSave() from resetting the dirty counter, so that the command will get replicated and put inside the AOF. This fixes issue #142
antirez [Mon, 17 Oct 2011 08:25:35 +0000 (10:25 +0200)]
FLUSHALL will only perform a blocking SAVE if RDB persistence is configured.
antirez [Fri, 14 Oct 2011 14:59:32 +0000 (16:59 +0200)]
Exit with Fatal error at startup if the RDB file signature or version is wrong.
Ref: issue #103
antirez [Fri, 14 Oct 2011 14:52:11 +0000 (16:52 +0200)]
redis-check-dump: RDB version 2 now supported.
antirez [Fri, 14 Oct 2011 12:30:41 +0000 (14:30 +0200)]
More informative error when DEBUG RELOAD fails.
antirez [Thu, 13 Oct 2011 13:16:03 +0000 (15:16 +0200)]
redis-trib: fix for a slot allocation bug.
antirez [Thu, 13 Oct 2011 12:51:29 +0000 (14:51 +0200)]
small comment added
antirez [Mon, 10 Oct 2011 20:21:17 +0000 (22:21 +0200)]
Fix for issue #132. Now AUTH raises an error if no server password is configured.
Salvatore Sanfilippo [Mon, 10 Oct 2011 20:05:16 +0000 (13:05 -0700)]
Merge pull request #126 from florean/unstable
Unlink Unix socket file on shutdown
Nathan Florea [Mon, 10 Oct 2011 18:21:15 +0000 (11:21 -0700)]
Added a config directive for a Unix socket mask
Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file. I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85).
antirez [Mon, 10 Oct 2011 13:29:36 +0000 (15:29 +0200)]
Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.
antirez [Mon, 10 Oct 2011 13:21:19 +0000 (15:21 +0200)]
Fix for bug #128 about the RENAME command.
antirez [Mon, 10 Oct 2011 10:01:13 +0000 (12:01 +0200)]
Added two new tests for RENAME, currently both will fail because of bug #128.
Nathan Florea [Sun, 9 Oct 2011 07:46:03 +0000 (00:46 -0700)]
Unlink Unix socket file on shutdown
antirez [Sat, 8 Oct 2011 08:58:57 +0000 (10:58 +0200)]
not used parameter for redisLog() removed. Error message grammar fixed.
Thanks to @ardsrk.
antirez [Fri, 7 Oct 2011 14:34:16 +0000 (16:34 +0200)]
Redis Cluster: process node to node CLUSTERMSG_TYPE_PUBLISH messages and send it to the local clients.
antirez [Fri, 7 Oct 2011 13:37:34 +0000 (15:37 +0200)]
propagate PUBLISH messages using the redis cluster nodes bus. Still need to process the incoming packets of that type. Work in progress.
antirez [Wed, 5 Oct 2011 17:55:33 +0000 (19:55 +0200)]
Totally hackish and dirty, but working, support for Redis Cluster in redis-cli
antirez [Wed, 5 Oct 2011 15:40:02 +0000 (17:40 +0200)]
A node can populate a slot if a message from a trusted slot is received claiming ownership of this slot, that is currently empty or served by a node in FAIL state. However this feature was broken since calling clusterAddSlot() was not enough as the slot bit is already set in the node that pong us. We need to directly alter the table. This commit fixes the issue.
antirez [Wed, 5 Oct 2011 14:08:54 +0000 (16:08 +0200)]
Merge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 5 Oct 2011 14:08:35 +0000 (16:08 +0200)]
CONFIG SET/GET support for loglevel
antirez [Wed, 5 Oct 2011 14:02:45 +0000 (16:02 +0200)]
just minor aesthetic changes to cluster.c
Salvatore Sanfilippo [Wed, 5 Oct 2011 10:49:52 +0000 (03:49 -0700)]
Merge pull request #118 from dvirsky/unstable
fixes to install scripts