Skip to content
Commits on Jul 31, 2010
  1. @antirez
Commits on Jul 29, 2010
  1. @pietern

    Change getDoubleFromObject to fail on NaN.

    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.
    pietern committed Jul 29, 2010
  2. @pietern

    Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.

    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
    zero.
    pietern committed Jul 29, 2010
  3. @pietern

    Use a large value to consistently trigger a list encoding,

    even when the list is swapped out and in again.
    pietern committed Jul 29, 2010
  4. @pietern
Commits on Jul 28, 2010
  1. @antirez
  2. @antirez

    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
    antirez committed Jul 28, 2010
  3. @antirez

    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.
    antirez committed Jul 28, 2010
Commits on Jul 27, 2010
  1. @antirez
  2. @antirez
  3. @antirez

    Consistency test improved

    antirez committed Jul 27, 2010
  4. @antirez
  5. @antirez

    STRLEN command implemented

    antirez committed Jul 27, 2010
  6. @antirez
  7. @antirez

    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
    antirez committed Jul 27, 2010
Commits on Jul 24, 2010
  1. @d0k

    Add zcalloc and use it where appropriate

    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
    empty.
    
    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.
    d0k committed Jul 24, 2010
  2. @d0k

    Remove _dictAlloc and friends

    zmalloc calls abort() so _dictPanic will never be called.
    d0k committed Jul 24, 2010
  3. @d0k

    Reduce code duplication

    d0k committed Jul 24, 2010
Commits on Jul 23, 2010
  1. @pietern
Commits on Jul 22, 2010
  1. @antirez
  2. @pietern
  3. @antirez
  4. @antirez

    other shared objects where created in the I/O thread in createStringO…

    …bjectFromLongLong. Fixed as well.
    antirez committed Jul 22, 2010
  5. @antirez

    minor typo fixed in a comment

    antirez committed Jul 22, 2010
  6. @antirez

    don't use object sharing inside I/O threads, as a fix for a well know…

    …n instability of VM introduced with the new object sharing code
    antirez committed Jul 22, 2010
Commits on Jul 21, 2010
  1. @antirez
Commits on Jul 16, 2010
  1. @antirez
Commits on Jul 12, 2010
  1. @antirez
Commits on Jul 9, 2010
  1. @antirez

    fmacro included in linenoise.c

    antirez committed Jul 9, 2010
Commits on Jul 7, 2010
  1. @antirez
Commits on Jul 6, 2010
  1. @antirez
  2. @antirez
  3. @antirez
  4. @antirez
  5. @antirez
Something went wrong with that request. Please try again.