- 13 May, 2012 1 commit
-
-
antirez authored
A previous commit introduced REDIS_HZ define that changes the frequency of calls to the serverCron() Redis function. This commit improves different related things: 1) Software watchdog: now the minimal period can be set according to REDIS_HZ. The minimal period is two times the timer period, that is: (1000/REDIS_HZ)*2 milliseconds 2) The incremental rehashing is now performed in the expires dictionary as well. 3) The activeExpireCycle() function was improved in different ways: - Now it checks if it already used too much time using microseconds instead of milliseconds for better precision. - The time limit is now calculated correctly, in the previous version the division was performed before of the multiplication resulting in a timelimit of 0 if HZ was big enough. - Databases with less than 1% of buckets fill in the hash table are skipped, because getting random keys is too expensive in this condition. 4) tryResizeHashTables() is now called at every timer call, we need to match the number of calls we do to the expired keys colleciton cycle. 5) REDIS_HZ was raised to 100.
-
- 26 Apr, 2012 1 commit
-
-
antirez authored
-
- 24 Apr, 2012 1 commit
-
-
antirez authored
This fixes compilation on FreeBSD (and possibly other systems) by not using ucontext_t at all if HAVE_BACKTRACE is not defined. Also the ifdefs to get the registers are modified to explicitly test for the operating system in the first level, and the arch in the second level of nesting.
-
- 02 Apr, 2012 1 commit
-
-
Premysl Hruby authored
-
- 28 Mar, 2012 1 commit
-
-
antirez authored
-
- 27 Mar, 2012 4 commits
-
-
antirez authored
Produce the watchlog warning log in a way that is safer from a signal handler. Fix a memory leak in the backtrace generation function.
-
antirez authored
-
antirez authored
-
antirez authored
SIGSEGV handler refactored so that we can reuse stack trace and current client logging functionalities in other contexts.
-
- 18 Mar, 2012 1 commit
-
-
antirez authored
-
- 21 Feb, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 08 Feb, 2012 1 commit
-
-
antirez authored
-
- 21 Jan, 2012 1 commit
-
-
antirez authored
Fix for hash table collision attack. We simply randomize hash table initialization value at startup time.
-
- 20 Jan, 2012 4 commits
- 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.
-
- 21 Dec, 2011 2 commits
- 20 Dec, 2011 1 commit
-
-
antirez authored
-
- 24 Nov, 2011 1 commit
-
-
antirez authored
-
- 12 Nov, 2011 1 commit
-
-
antirez authored
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().
-
- 08 Nov, 2011 1 commit
-
-
antirez authored
-
- 14 Oct, 2011 1 commit
-
-
antirez authored
-
- 04 Oct, 2011 2 commits
-
-
antirez authored
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 authored
Introduced a redisAssert() variant that is able to show information about the client in the context where the failed assertion was detected.
-
- 30 Jun, 2011 1 commit
-
-
antirez authored
-
- 25 Jun, 2011 1 commit
-
-
antirez authored
-
- 10 May, 2011 1 commit
-
-
antirez authored
DEBUG DIGEST additional lookup needed for VM removed from unstable branch that does not have VM at all
-
- 06 Apr, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 14 Mar, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 09 Jan, 2011 3 commits
- 08 Jan, 2011 1 commit
-
-
antirez authored
-
- 03 Jan, 2011 1 commit
-
-
antirez authored
-
- 01 Jan, 2011 1 commit
-
-
antirez authored
implemented a different approach to IO scheduling, so object->storage is no longer used, instead there is a queue and hash table of IO tasks to process, and it is always possible to know what are the scheduled and acrtive IO operations against every single key.
-
- 29 Dec, 2010 1 commit
-
-
antirez authored
-
- 14 Dec, 2010 1 commit
-
-
antirez authored
-