Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 5, 2012
Commits on Oct 4, 2012
  1. @jokea

    Force expire all timer events when system clock skew is detected.

    jokea authored committed
    When system time changes back, the timer will not worker properly
    hence some core functionality of redis will stop working(e.g. replication,
    bgsave, etc). See issue #633 for details.
    
    The patch saves the previous time and when a system clock skew is detected,
    it will force expire all timers.
    
    Modiifed by @antirez: the previous time was moved into the eventLoop
    structure to make sure the library is still thread safe as long as you
    use different event loops into different threads (otherwise you need
    some synchronization). More comments added about the reasoning at the
    base of the patch, that's worth reporting here:
    
    /* If the system clock is moved to the future, and then set back to the
     * right value, time events may be delayed in a random way. Often this
     * means that scheduled operations will not be performed soon enough.
     *
     * Here we try to detect system clock skews, and force all the time
     * events to be processed ASAP when this happens: the idea is that
     * processing events earlier is less dangerous than delaying them
     * indefinitely, and practice suggests it is. */
Commits on May 23, 2012
  1. @jokea
Commits on May 15, 2012
  1. @davepacheco

    first cut at event port support

    davepacheco authored committed
Commits on Apr 6, 2012
  1. @jokea

    implement aeWait using poll(2). Fixes issue #267.

    jokea authored committed
Commits on Feb 8, 2012
Commits on Jan 25, 2012
  1. aeCreateEventLoop() cleanup on error unified in a single block (original

    authored
    patch by Mukund Sivaraman, modified by me to make it simpler and to use
    my coding style).
  2. @muks

    If aeApiCreate() fails, there's probably not much one can do, but in …

    muks authored committed
    …the name of consistency...
Commits on Dec 16, 2011
  1. ae.c: solved a memory leak with no practical effects (since the event

    authored
    loop is never destroyed in Redis). Thanks to @anydot for noticing it.
Commits on Dec 15, 2011
Commits on Nov 21, 2011
Commits on Jul 1, 2010
  1. redis.c split into many different C files.

    authored
    networking related stuff moved into networking.c
    
    moved more code
    
    more work on layout of source code
    
    SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
    
    cleanly compiling again after the first split, now splitting it in more C files
    
    moving more things around... work in progress
    
    split replication code
    
    splitting more
    
    Sets split
    
    Hash split
    
    replication split
    
    even more splitting
    
    more splitting
    
    minor change
Something went wrong with that request. Please try again.