Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 31, 2010
  1. @antirez
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
    zero.
  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. @antirez
  2. @antirez

    Fixed a replication bug in ZINTERSTORE.

    antirez authored
    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
  3. @antirez

    better random dataset creation function in test. master-slave replica…

    antirez authored
    …tion test now is able to save the two datasets in CSV when an inconsistency is detected.
Commits on Jul 27, 2010
  1. @antirez
  2. @antirez
  3. @antirez

    Consistency test improved

    antirez authored
  4. @antirez
  5. @antirez

    STRLEN command implemented

    antirez authored
  6. @antirez
  7. @antirez

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

    antirez authored
    …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
    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.
  2. @d0k

    Remove _dictAlloc and friends

    d0k authored
    zmalloc calls abort() so _dictPanic will never be called.
  3. @d0k

    Reduce code duplication

    d0k authored
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…

    antirez authored
    …bjectFromLongLong. Fixed as well.
  5. @antirez

    minor typo fixed in a comment

    antirez authored
  6. @antirez

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

    antirez authored
    …n instability of VM introduced with the new object sharing code
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
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.