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 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 [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 [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 [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.
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 [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
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 [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 [Tue, 4 Oct 2011 16:05:26 +0000 (18:05 +0200)]
redisAssertWithClientInfo() is now redisAssertWithInfo() that is also able to report an optional object. The client is also optional. Specifying NULL will prevent dumping the not available information (either client or object).
antirez [Tue, 4 Oct 2011 08:05:21 +0000 (10:05 +0200)]
Redis test ports selection made more robust. This prevents the test from hanging if an already bound port is selected but the TCP server listening to it does not cause a protocol error with a Redis client PING. Also base port moved away from the range near to the Redis Cluster gossip ports.
antirez [Mon, 3 Oct 2011 14:04:44 +0000 (16:04 +0200)]
Revert "Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident."
After talking with Pieter he changed my mind about this, it is better to
have a simpler install script that works everywhere, and the complex one
can be always executed if needed by hand. We'll make possibly a new
target for the full featured installation script, and even suggest it
after a Make install.