Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Mar 11, 2009

  1. Added mmap to disk/flash support

    authored March 10, 2009

Jul 29, 2008

  1. Fix 'make dist' target to include new files

    authored July 29, 2008 dormando committed July 29, 2008

Jul 24, 2008

  1. dormando

    Update changelog, version bump.

    authored July 24, 2008
  2. dormando

    Add support for newer automake's.

    Patch provided by facebook, attribution is to one or more of:
    Marc, Steve, Haiping Zhao, and Paul Saab, Steven Grimm, etc.
    authored July 24, 2008

Jul 23, 2008

  1. Add DTrace probes for Solaris/etc.

    authored July 23, 2008 dormando committed July 23, 2008

Jul 07, 2008

  1. Steve Yen

    lru tests

    authored April 23, 2008 dormando committed July 06, 2008
  2. dormando

    Storage of values with negative lengths was undefined, potential crash.

    Reported on the mailing list by Marcus Hunger <hunger@sipgate.de>
    authored July 06, 2008

Jun 29, 2008

  1. dormando

    Don't leave stale data on failed set attempt.

    This is mildly less confusing for folks with OOM errors or who store items for long periods of time, but occasionally attempt setting a very large item. While I don't believe this actually fixes a class of bugs we've seen due to refcount leaks, I make this change for consistency.
    authored June 29, 2008
  2. dormando

    Don't leak references in process_get_command.

    authored June 29, 2008
  3. dormando

    Don't leak reference on OOM error.

    authored June 29, 2008

Jun 23, 2008

  1. Another buffer overrun fix.

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@788 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 23, 2008
  2. Allocate new conn structures with calloc.

    Janusz Dziemidowicz reported conn->next was sometimes not initialized.
    This would have been the case for any client connection, or any
    listener connection that wasn't tcp.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@787 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 23, 2008
  3. Fix heap corruption when copying too much data onto an item.

    (Dustin:)
    I wrote a fuzz test that would consistently crash in assoc_find, but
    after this change the test failed to break things and my fuzz
    generator couldn't produce another breaking case.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@786 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 23, 2008
  4. Use calloc for allocating the hash table vs. malloc+memset.

    calloc is already used to resize the hash table, so it's good to be
    consistent here.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@785 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 23, 2008
  5. Fix freesuffix corruption.

    When attempting to grow the freesuffix storage, the realloc is sized
    to the number of bytes in freesuffixtotal instead of a number of
    pointers of that size.
    
    That is, the original malloc is for
    
      sizeof(char *) * freesuffixtotal
    
    but the realloc for growth was
    
      freesuffixtotal * 2
    
    On a 32-bit machine, this would have the effect of freeing half of
    the freelist when an attempt was made to grow it.
    
    The realloc is now consistent with the initial malloc.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@784 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 23, 2008

Jun 12, 2008

  1. make -k work under daemon mode (-d).

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@783 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored June 12, 2008

Mar 03, 2008

  1. Document a few of the stats commands.

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@747 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  2. Halve distro size ;)

    If we want the image back, fetch it from history into a doc or scratch repo.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@743 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  3. Add -L mode to manpage.

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@742 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  4. Version bump (shipit's having trouble with it), and update ChangeLog

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@741 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  5. per-stat-class tracking of evictions and out of memory conditions.

    We have an evictions stat, but it doesn't tell us if a particular slab class is hot. Now you can tell.
    Can also tell if a particular class is in a weird state if the out of memory errors are high.
    
    Also handy if you're using -M to disable the LRU.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@740 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  6. Don't re-calculate the slab class id for slabs_free() either.

    This + previous patch slightly reduce user CPU time, especially during heavy evictions.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@739 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  7. Don't re-calculate the slab class id.

    slabs_alloc() internally calls slabs_clsid(), so an eviction case would crawl the list of slab classes three times.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@738 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  8. Useless check. 'id' will never be higher than POWER_LARGEST.

    Which is defined as 200 in slabs.c, but LARGEST_ID is defined as 255 in items.c? Weird.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@737 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008
  9. Give 'SERVER_ERROR out of memory' errors more context.

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@736 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored March 03, 2008

Feb 29, 2008

  1. Minor refactoring of server_socket.

    Build the linked list out backwards so this command may be executed
    more than once.  This also reduces the code a bit.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@729 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 29, 2008

Feb 27, 2008

  1. Handle bind errors in server_socket() (Brian Aker) (Dormando helped!)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@728 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 27, 2008
  2. Enable UDP by default, clean up server socket code (Brian Aker)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@726 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 27, 2008

Feb 25, 2008

  1. Enable use of large memory pages (Trond Norbye) <Trond.Norbye@Sun.COM>

    Initial support for solaris.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@724 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 25, 2008

Feb 24, 2008

  1. Make likely() and unlikely() available (Brian Aker)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@716 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 24, 2008

Feb 22, 2008

  1. Add verbose message on noreply conditions.

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@712 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 22, 2008
  2. Changelog update (fix my formatting too)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@711 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 22, 2008
  3. Implement 'noreply' option for update commands. (Tomash Brechko <toma…

    …sh.brechko@gmail.com>)
    
    Commands add, set, replace, append, prepend, cas, delete, incr, decr,
    flush_all, verbosity can take last optional parameter, 'noreply',
    which instructs the server to not send the reply.
    
    Add benchmark script for noreply parameter.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@708 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 22, 2008
  4. Close socket on unhandled read errors. (Tao Hui <taohui3@gmail.com>)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@707 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 22, 2008

Feb 19, 2008

  1. Someday I'll stop forgetting the changelog updates :)

    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@706 b0b603af-a30f-0410-a34e-baf09ae79d0b
    authored February 19, 2008
Something went wrong with that request. Please try again.