- 15 Feb, 2012 5 commits
-
-
antirez authored
Fixes to c->reply_bytes computation, and debug messages to closely study the behavior of memory pressure + slaves + maxmemory + blocked slaves.
-
antirez authored
Precision of getClientOutputBufferMemoryUsage() greatily improved, see issue #327 for more information.
-
antirez authored
-
antirez authored
1) sendReplyToClient() now no longer stops transferring data to a single client in the case we are out of memory (maxmemory-wise). 2) in processCommand() the idea of we being out of memory is no longer the naive zmalloc_used_memory() > server.maxmemory. To say if we can accept or not write queries is up to the return value of freeMemoryIfNeeded(), that has full control about that. 3) freeMemoryIfNeeded() now does its math without considering output buffers size. But at the same time it can't let the output buffers to put us too much outside the max memory limit, so at the same time it makes sure there is enough effort into delivering the output buffers to the slaves, calling the write handler directly. This three changes are the result of many tests, I found (partially empirically) that is the best way to address the problem, but maybe we'll find better solutions in the future.
-
antirez authored
Initial version of c->reply_bytes implementation backported from unstable to 2.4, in order to apply issue 327 patches.
-
- 12 Jan, 2012 1 commit
-
-
antirez authored
On crash print information about the current client (if any), command vector, and object associated to first argument assuming it is a key.
-
- 07 Jan, 2012 2 commits
-
-
antirez authored
Protections against protocol desyncs, leading to infinite query buffer growing, due to nul-terms in specific bytes of the request or indefinitely long multi bulk or bulk count strings without newlines. This bug is related to Issue #141 as well.
-
antirez authored
Fixed replication when multiple slaves are attaching at the same time. The output buffer was not copied correctly between slaves. This fixes issue #141.
-
- 19 Dec, 2011 1 commit
-
-
antirez authored
Fixed memleak in CLIENT INFO, added simple test that will work as regression test on mac os x and in the CI when running over valgrind. This fixes issue #256
-
- 25 Nov, 2011 2 commits
- 24 Nov, 2011 2 commits
- 21 Nov, 2011 5 commits
- 12 Sep, 2011 1 commit
-
-
antirez authored
Remove the write handler only if there are no longer objects in the output queue AND if the static buffer is empty. This bug was the cause of a possible server-stop-responding-to-client bug under some specific work load. Thanks to Pieter Noordhuis for spotting and fixing it.
-
- 12 Jul, 2011 1 commit
-
-
antirez authored
Take a pointer to the relevant entry of the command table in the client structure. This is generally a more sounding design, simplifies a few functions prototype, and as a side effect fixes a bug related to the conversion of EXPIRE -1 to DEL: before of this fix Redis tried to convert it into an EXPIREAT in the AOF code, regardless of our rewrite of the command.
-
- 17 Jun, 2011 1 commit
-
-
antirez authored
-
- 31 May, 2011 1 commit
-
-
antirez authored
-
- 07 May, 2011 1 commit
-
-
antirez authored
when Redis fails accepting a new connection reports the error at WARNING and not VERBOSE error level. Thanks to offby1 for proposing this in the Redis mailing list. #backport-candidate
-
- 29 Apr, 2011 1 commit
-
-
antirez authored
Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connection with its slaves
-
- 27 Apr, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 21 Apr, 2011 4 commits
- 18 Apr, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 31 Mar, 2011 2 commits
- 20 Jan, 2011 1 commit
-
-
antirez authored
Fixed issue #435 and at the same time introduced explicit ping in the master-slave channel that will detect a blocked master or a broken even if apparently connected TCP link.
-
- 17 Jan, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 14 Jan, 2011 1 commit
-
-
antirez authored
-
- 05 Jan, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 15 Dec, 2010 1 commit
-
-
antirez authored
-
- 07 Dec, 2010 1 commit
-
-
antirez authored
LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process.
-
- 30 Nov, 2010 1 commit
-
-
Damian Janowski & Michel Martens authored
-