Permalink
Commits on Aug 3, 2010
  1. add LISMEMBER.

    Robey Pointer committed Aug 3, 2010
Commits on Jul 31, 2010
Commits on Jul 29, 2010
  1. 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. 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. 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
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
    committed Jul 28, 2010
  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.
    committed Jul 28, 2010
Commits on Jul 27, 2010
  1. Consistency test improved

    committed Jul 27, 2010
  2. STRLEN command implemented

    committed Jul 27, 2010
  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
    committed Jul 27, 2010
Commits on Jul 24, 2010
  1. 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. Remove _dictAlloc and friends

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

    d0k committed Jul 24, 2010
Commits on Jul 23, 2010
Commits on Jul 22, 2010
  1. other shared objects where created in the I/O thread in createStringO…

    …bjectFromLongLong. Fixed as well.
    committed Jul 22, 2010
  2. minor typo fixed in a comment

    committed Jul 22, 2010
  3. 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
    committed Jul 22, 2010
Commits on Jul 21, 2010
Commits on Jul 16, 2010
Commits on Jul 12, 2010
Commits on Jul 9, 2010
  1. fmacro included in linenoise.c

    committed Jul 9, 2010
Commits on Jul 7, 2010
Commits on Jul 6, 2010