]>
git.saurik.com Git - redis.git/log
antirez [Thu, 24 Nov 2011 14:47:26 +0000 (15:47 +0100)]
better bug report info on crash
antirez [Thu, 24 Nov 2011 14:04:42 +0000 (15:04 +0100)]
minor refactoring to networking.c adding a separated function to get a string representing the current state of all the connected clients.
antirez [Thu, 24 Nov 2011 13:56:34 +0000 (14:56 +0100)]
last executed command in CLIENT LIST output.
jbergstroem [Wed, 23 Nov 2011 20:36:25 +0000 (21:36 +0100)]
Update to jemalloc 2.2.5
antirez [Wed, 23 Nov 2011 17:38:12 +0000 (18:38 +0100)]
new counter in INFO output: rejected_connections with number of dropped connections because of maxclients limit reached.
antirez [Tue, 22 Nov 2011 13:27:53 +0000 (14:27 +0100)]
Merge remote-tracking branch 'origin/unstable' into unstable
antirez [Tue, 22 Nov 2011 13:27:32 +0000 (14:27 +0100)]
More fixes in the Redis command table, to make sure all the keys are detected by Redis Cluster.
Salvatore Sanfilippo [Tue, 22 Nov 2011 10:43:28 +0000 (02:43 -0800)]
Merge pull request #199 from jerem/patch-1
Fixed a typo in comments.
antirez [Tue, 22 Nov 2011 09:16:15 +0000 (10:16 +0100)]
Fixed command table for SETEX and PSETEX causing the expire time to be hashed by Redis cluster instead of the key.
antirez [Tue, 22 Nov 2011 09:13:45 +0000 (10:13 +0100)]
comment describing the Redis command table enhanced
antirez [Mon, 21 Nov 2011 15:19:30 +0000 (16:19 +0100)]
Fixed bug in getClientInfoString() that was not rendering the N (no flags) special flag correctly.
antirez [Mon, 21 Nov 2011 15:17:51 +0000 (16:17 +0100)]
Close client connection and log the event when the client input buffer reaches 1GB.
antirez [Mon, 21 Nov 2011 15:06:03 +0000 (16:06 +0100)]
show active events in client file descriptor in CLIENT LIST.
antirez [Mon, 21 Nov 2011 15:05:29 +0000 (16:05 +0100)]
new ae.c API to get current events by file descriptor.
antirez [Mon, 21 Nov 2011 14:54:49 +0000 (15:54 +0100)]
added output list and buffer length, query buffer size, to CLIENT LIST output.
antirez [Mon, 21 Nov 2011 14:35:54 +0000 (15:35 +0100)]
file .prerequisites added to gitignore
antirez [Mon, 21 Nov 2011 14:34:32 +0000 (15:34 +0100)]
code generating the CLIENT LIST output refactored to have a function that is able to render a single client into a client info string.
antirez [Mon, 21 Nov 2011 14:34:00 +0000 (15:34 +0100)]
Added sdscatsds() to sds.c/h
antirez [Mon, 21 Nov 2011 09:55:52 +0000 (10:55 +0100)]
Fixed a comment typo in the command table.
Jérémy Bethmont [Mon, 21 Nov 2011 01:38:14 +0000 (09:38 +0800)]
Fixed a typo in comments.
antirez [Fri, 18 Nov 2011 15:30:26 +0000 (16:30 +0100)]
Merge remote-tracking branch 'origin/unstable' into unstable
antirez [Fri, 18 Nov 2011 15:29:22 +0000 (16:29 +0100)]
redis.conf updated to reflect the new scripting timeout semantics.
antirez [Fri, 18 Nov 2011 14:53:47 +0000 (15:53 +0100)]
aof-race test reenabled now that port allocation of the test suite is smarter
Salvatore Sanfilippo [Fri, 18 Nov 2011 13:34:56 +0000 (05:34 -0800)]
Merge pull request #173 from jasondavies/typo
Fix some minor typos.
antirez [Fri, 18 Nov 2011 13:23:38 +0000 (14:23 +0100)]
prevent (more) commands from Lua scripts
antirez [Fri, 18 Nov 2011 13:10:48 +0000 (14:10 +0100)]
New script timeout semantics and SCRIPT KILL implemented. SHUTDOWN NOSAVE and SHUTDOWN SAVE implemented.
Salvatore Sanfilippo [Wed, 16 Nov 2011 17:23:19 +0000 (09:23 -0800)]
Merge pull request #193 from lamby/sparc-crash
Fix crash on SPARC due to improper alignment of allocated memory
Chris Lamb [Wed, 16 Nov 2011 17:21:16 +0000 (17:21 +0000)]
Fix crash on SPARC due to improper alignment of allocated memory
I believe that you should be able to drop 'defined(__sun)' completely
from this clause, as Solaris on x86 hardware probably does not have
strict alignment requirements, but I don't have a way to test that.
Thanks to Jurij Smakov <jurij@wooyd.org>.
Signed-off-by: Chris Lamb <lamby@debian.org>
Pieter Noordhuis [Wed, 16 Nov 2011 16:34:42 +0000 (08:34 -0800)]
Don't force rebuild when params didn't change
antirez [Wed, 16 Nov 2011 13:40:50 +0000 (14:40 +0100)]
more valgrind (and other archs) friendly testing of floating number related features.
antirez [Wed, 16 Nov 2011 12:30:43 +0000 (13:30 +0100)]
valgrind handles floating point numbers differently for some reason, so using "simpler" numbers to make tests happy.
Salvatore Sanfilippo [Wed, 16 Nov 2011 09:29:42 +0000 (01:29 -0800)]
Merge pull request #192 from pietern/makefile
Add separate clean/distclean targets to Makefile
Pieter Noordhuis [Tue, 15 Nov 2011 21:28:57 +0000 (13:28 -0800)]
Update README on allocators
Pieter Noordhuis [Tue, 15 Nov 2011 21:09:31 +0000 (13:09 -0800)]
Rebuild source when allocator changes
To do so, the Makefile stores the contents of the MALLOC environment
variable in a file named .make-malloc. When the contents of this file
and the MALLOC variable are not equal, it forces a rebuild of the Redis
source tree.
A side-effect of this change is that choosing an allocator can now be
done using the single MALLOC variable instead of USE_TCMALLOC,
USE_JEMALLOC and so forth. These variables continue to work for
backwards compatibility.
Pieter Noordhuis [Tue, 15 Nov 2011 20:40:49 +0000 (12:40 -0800)]
Rebuild deps/ and src/ when ARCH changes
This change moves the build instructions for dependencies to a separate
Makefile in deps/. The ARCH environment variable is stored in a
.make-arch file in the same directory as the Makefile. The contents of
this file is read and compared to the current ARCH, and, on a mismatch
triggers rebuilding the entire source tree.
When file .make-arch exists and matches with ARCH from the environment,
the dependencies are assumed to already be built.
The new "clean" target only cleans the Redis source tree, not its
dependencies. To clear the dependencies as well, the "distclean" target
can be used.
Pieter Noordhuis [Tue, 15 Nov 2011 17:39:38 +0000 (09:39 -0800)]
Use CCLINK as last argument
Pieter Noordhuis [Tue, 15 Nov 2011 17:36:13 +0000 (09:36 -0800)]
CCLINK already includes ALLOC_LINK
Salvatore Sanfilippo [Tue, 15 Nov 2011 14:36:53 +0000 (06:36 -0800)]
Merge pull request #181 from redsquirrel/unstable
Fixing inject: it was failing when there was 1 or >2 sources
antirez [Tue, 15 Nov 2011 14:26:10 +0000 (15:26 +0100)]
HINCRBYFLOAT tests
antirez [Tue, 15 Nov 2011 14:09:39 +0000 (15:09 +0100)]
HINCRBYFLOAT implemented
antirez [Mon, 14 Nov 2011 14:59:56 +0000 (15:59 +0100)]
Merge branch 'unstable' into incrbyfloat
antirez [Mon, 14 Nov 2011 14:39:55 +0000 (15:39 +0100)]
test for the new more strict behavior about number parsing
antirez [Mon, 14 Nov 2011 14:37:13 +0000 (15:37 +0100)]
INCRBYFLOAT tests
antirez [Mon, 14 Nov 2011 14:34:44 +0000 (15:34 +0100)]
string to number API is now more strict not accepting spaces before or after the number. A few tests converted to match the new error messages using the word float instead of double.
antirez [Mon, 14 Nov 2011 09:15:13 +0000 (10:15 +0100)]
rewrite INCRBYFLOAT as SETs for AOF/replication
antirez [Sat, 12 Nov 2011 18:27:35 +0000 (19:27 +0100)]
INCRBYFLOAT implementation
antirez [Sat, 12 Nov 2011 10:27:38 +0000 (11:27 +0100)]
Added test to make sure Redis evicts expired keys actively (and not just in a lazy fashion).
antirez [Sat, 12 Nov 2011 00:04:27 +0000 (01:04 +0100)]
Fixed issues with expire introduced with latest millisecond resolution feature. Many time_t were not converted to long long, and one time() call was not replaced with mstime().
antirez [Fri, 11 Nov 2011 16:16:03 +0000 (17:16 +0100)]
set default client timeout to zero inside redis.h as well
antirez [Fri, 11 Nov 2011 14:11:50 +0000 (15:11 +0100)]
new tests for EXPIRE family functions, new millisecond precision, and new millisecond argument variants.
antirez [Thu, 10 Nov 2011 16:52:02 +0000 (17:52 +0100)]
high resolution expires API modified to use separated commands. AOF transation to PEXPIREAT of all the expire-style commands fixed.
Dave Hoover [Thu, 10 Nov 2011 01:06:12 +0000 (19:06 -0600)]
Fixing inject: it was failing when there was 1 or >2 sources
antirez [Wed, 9 Nov 2011 20:59:27 +0000 (21:59 +0100)]
Fixed a few typos
antirez [Wed, 9 Nov 2011 17:47:48 +0000 (18:47 +0100)]
Fixed bug breaking rdbSaveMillisecondTime() in 32 bit systems. Thanks to @anydot (Přemysl Hrubý)
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.
Jason Davies [Tue, 1 Nov 2011 19:57:51 +0000 (19:57 +0000)]
Fix minor typos.
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