Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 23, 2010
  1. fix code review comments.

    Robey Pointer authored
Commits on Aug 20, 2010
  1. add maxmemory_margin to allow for forcibly freeing more than the bare…

    Robey Pointer authored
    … minimum, and making space for new entries. track the count of expired and forcibly expired items.
  2. add "keystolist" command.

    Robey Pointer authored
Commits on Aug 19, 2010
  1. add memory_pressure_selection config.

    Robey Pointer authored
  2. add "dumpcore" config to avoid setting up the segv handler if you don…

    Robey Pointer authored
    …'t want it.
  3. HAPLO-2: dbDelete expects an robj, but items in the expires hashtable…

    Robey Pointer authored
    … are just char* keys. fixed by pasting the 2 lines from dbDelete and using the key directly instead of robj->ptr.
  4. weird. redis tries to save the db on exit, even if you asked it not t…

    Robey Pointer authored
    …o. patch to make it honor that.
Commits on Aug 5, 2010
Commits on Aug 3, 2010
  1. PERSIST command implemented

  2. replication test with expires

Commits on Aug 2, 2010
  1. support for write operations against expiring keys, by master-control…

    …led expiring in replication and AOF synthesizing DEL operations
Commits on Aug 1, 2010
  1. @pietern
Commits on Jul 31, 2010
Commits on Jul 29, 2010
  1. @pietern

    Change getDoubleFromObject to fail on NaN.

    pietern authored
    Return an error when the resulting value is not a number (NaN). Fix
    ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
    double value.
  2. @pietern

    Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.

    pietern authored
    When +inf and -inf are added, the result is NaN. We don't want NaN
    scores in a sorted set, so agreed on the result of this operation being
  3. @pietern

    Use a large value to consistently trigger a list encoding,

    pietern authored
    even when the list is swapped out and in again.
  4. @pietern
Commits on Jul 28, 2010
  1. Fixed a replication bug in ZINTERSTORE.

    In order to trigger the bug what's needed is to call ZINTERSTORE
    resulting into an empty set created, bug against a key that already
    existed. The command was not propagated, so the replica ended with the
    key that the master removed. Sequence of command to reproduce:
    redis-cli hset 446 34 905
    redis-cli hset 446 393 911
    redis-cli zadd 966 0.085412045980529885 652
    redis-cli zadd 645 0.25081839284432045 280
    redis-cli zinterstore 446 2 966 645
  2. better random dataset creation function in test. master-slave replica…

    …tion test now is able to save the two datasets in CSV when an inconsistency is detected.
Commits on Jul 27, 2010
  1. Consistency test improved

  2. STRLEN command implemented

  3. use the function deprecated attribute if compiling with GCC to get wa…

    …rnings for malloc/free usages. We always want to use our zmalloc/zfree versions for memory usage tracking
Commits on Jul 24, 2010
  1. @d0k

    Add zcalloc and use it where appropriate

    d0k authored
    calloc is more effecient than malloc+memset when the system uses mmap to
    allocate memory. mmap always returns zeroed memory so the memset can be
    avoided.  The threshold to use mmap is 16k in osx libc and 128k in bsd
    libc and glibc. The kernel can lazily allocate the pages, this reduces
    memory usage when we have a page table or hash table that is mostly
    This change is most visible when you start a new redis instance with vm
    enabled.  You'll see no increased memory usage no matter how big your
    page table is.
  2. @d0k

    Remove _dictAlloc and friends

    d0k authored
    zmalloc calls abort() so _dictPanic will never be called.
Something went wrong with that request. Please try again.