Skip to content
Commits on Mar 20, 2010
Commits on Mar 6, 2010
  1. @trondn @dustin

    Add support for --enable-sasl-pwdb

    --enable-sasl-pwdb allows memcached to use it's own password file and
    verify a plaintext password.
    The file is specified with the environment variable
    MEMCACHED_SASL_PWDB, and is a plain text file with the following
    Please note that you have to specify "mech_list: plain" in your sasl
    config file for this to work.
    echo "mech_list: plain" > memcached.conf
    echo "myname:mypass" > /tmp/memcached-sasl-db
    export MEMCACHED_SASL_PWDB=/tmp/memcached-sasl-db
    export SASL_CONF_PATH=`pwd`/memcached.conf
    ./memcached -S -v
    and you should be able to use your favorite memcached client with sasl
    support to connect to the server.
    (Please note that not all SASL implementations support
    SASL_CB_GETCONF, so you may have to install the sasl config
    (memcached.conf) to the systemwide location)
    trondn committed with dustin Feb 24, 2010
Commits on Feb 22, 2010
  1. @austvik @dustin
  2. @trondn @dustin
Commits on Feb 20, 2010
  1. @dustin

    Backporting AC_PROG_CC_C99 macro for redhat.

    RedHat 5.4 (and CentOS) ship with 2.59 which doesn't have the
    AC_PROG_CC_C99 macro necessary for detecting C99 flags for the
    dustin committed Feb 15, 2010
Commits on Jan 13, 2010
  1. @trondn @dustin

    Added reclaimed statistics.

    This counts then number of times an expired object was reclaimed to
    store a new item.
    trondn committed with dustin Jan 12, 2010
Commits on Dec 31, 2009
  1. @trondn @dustin

    Remove compile warnings on openBSD

    trondn committed with dustin Dec 29, 2009
  2. @trondn @dustin
Commits on Dec 26, 2009
  1. @trondn
  2. @trondn

    doc fixes

    Paul Lindner committed with trondn Dec 26, 2009
  3. @trondn

    add tests to detect ARM CPU alignment issues

    Paul Lindner committed with trondn Dec 26, 2009
  4. @trondn

    Fedora 12 has automake 1.11

    Paul Lindner committed with trondn Dec 26, 2009
Commits on Nov 27, 2009
  1. @dustin @dormando

    Allow noreply mixed with 0 delay.

    dustin committed with dormando Nov 24, 2009
  2. @dustin @dormando

    Allow a delete duration of 0.

    This change covers the case where a reply is requested.  A separate,
    more complicated change mixes in noreplys and 0 duration deletes.
    dustin committed with dormando Nov 24, 2009
  3. @dormando
Commits on Nov 26, 2009
  1. @ingenthr

    Added auth_enabled_sasl setting stat and tests for the sasl stats.

    Added basic sasl stats and tests for whether or not those stats
    return the expected values.  The preferred method would be to reauth
    but that is not expected to currently work because of how the underlying
    sasl library works.  Instead, the test is dependent upon what has happened
    earlier with other tests.
    The name for the stat includes the suffix of _sasl because there may
    some day be an option for other types of authentication.
    ingenthr committed with Trond Norbye Nov 24, 2009
  2. @ingenthr

    Added new stats to track sasl authentication.

    Two new stats, auth_cmds and auth_unknowns have been added to allow
    end users to track how often authentications commands are submitted
    and when they "fail".  Successes can be calculated by clients.
    Rename to auth_errors and add to protocol.txt.
    ingenthr committed with Trond Norbye Nov 24, 2009
Commits on Nov 4, 2009
  1. @dustin

    Fix compilation warning

    Trond Norbye committed with dustin Nov 4, 2009
  2. @dustin

    Allow semi-broken C99 compilers to compile memcached

    Some C compilers understand the syntax we use in memcached, but do not
    ship stdbool.h or stdint.h.  According to C99 inttypes.h contains the
    formatting macros we use (PRInn) and is supposed to include stdint.h.
    This patch tries to detect stdbool.h and inttypes.h and tries to
    include them from config.h
    Trond Norbye committed with dustin Nov 4, 2009
Commits on Nov 2, 2009
  1. @dustin
  2. @kroki @dustin
  3. @dormando @dustin

    distribute damemtop

    dormando committed with dustin Nov 2, 2009
  4. @dormando @dustin

    Make autoversioning/spec gen work better.

    issue #98 is about how our specfiles for rc's aren't upgradeable.
    Now they should be.
    dormando committed with dustin Nov 2, 2009
  5. @dustin
  6. @dustin
  7. @dustin

    Update stat documentation to reflect allocation strategy.

    The documentation stated that memory allocation was always in chunks
    of 1MB.  In practice, this gets less effecient as you get into larger
    The 1MB thing (which can be controlled by -I) is both the maximum size
    and allocation unit so a single allocate event will attempt to get as
    many items for a particular slab as it can as long as the allocation
    itself doesn't exceed the maximum item size.
    dustin committed Nov 1, 2009
Commits on Oct 31, 2009
  1. @dustin

    Enable test for bug101 to be skipped.

    This can potentially use a lot of memory on a host and some of the
    build slaves don't like that too much.
    It will run everywhere by default, but may be disabled by setting the
    SKIP_TEST_101 environment variable.
    dustin committed Oct 30, 2009
Commits on Oct 30, 2009
  1. @dustin

    Use slab class growth factor for slab size limit

    Re Colin:
    "When using a growth factor smaller than 2.0, the normal growth stops once
    the chunk size reach half the page size (1 MB by default)."
    This adds two more slab classes by default, but makes memcached a little
    more efficient for larger values. This will create a *lot* more slabs if
    you are increasing the page limit via -I
    However, if you're lowering the memory limit, this helps keep things
    Colin Pitrat committed with dustin Oct 29, 2009
  2. @dormando @dustin

    Ensure LRU tests use largest slab.

    dormando committed with dustin Oct 29, 2009
  3. @dustin @dormando
  4. Ignore stats prefix for keys without prefix delimiter

    Chang Song committed with Trond Norbye Oct 30, 2009
Commits on Oct 29, 2009
  1. @dustin

    Issue 104: stats bug for cmd_get

    Trond Norbye committed with dustin Oct 29, 2009
  2. @dustin

    Better error messages for delete.

    dustin committed with Trond Norbye Oct 29, 2009
  3. @dustin

    Provide better errors for deletion scenarios. bug3

    dustin committed with Trond Norbye Oct 28, 2009
  4. @dustin

    Remove slab size special case for growth factor 2. bug56

    Using any growth factor, the minimum slab size is always 104 bytes
    (unless using -n option to use a specific value) except for 2. In this
    case, it's 128 bytes and cannot be reduced using -n option (it can be
    increased however).
    From slabs.c:
        /* Factor of 2.0 means use the default memcached behavior */
        if (factor == 2.0 && size < 128)
            size = 128;
    What I sugget is to simply remove this part. If the default behaviour
    needs to be kept to 128 bytes per default when factor is 128, maybe
    default value could for the -n option could be adapted to do so. But I
    don't see a good reason for this specific difference between factor 2
    and others.
    Colin Pitrat committed with dustin Oct 28, 2009
Something went wrong with that request. Please try again.