Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 12, 2009
  1. Matt Ingenthron Dustin Sallings
Commits on May 15, 2009
  1. Dustin Sallings

    Don't abort when creating a socket with an unknown binding protocol.

    dustin authored Trond Norbye committed
    This changes the abort to an assert and tests for such failures.
Commits on May 13, 2009
  1. Dustin Sallings

    When receiving bad magic in the binary protocol, hang up.

    dustin authored Trond Norbye committed
    try_read_command's return value of 0 indicates to the caller that more
    data is needed, thus it changes the connection state to conn_waiting
    which blows away the closing state and the connection stays open
    forever accumulating bad input.
  2. Dustin Sallings

    Allow the binding protocol to be specified.

    dustin authored Trond Norbye committed
    Instead of always binding as autonegotiate, allow the user to specify
    which protocol the server will run.
  3. Dustin Sallings

    Moved struct definitions below enum declarations.

    dustin authored Trond Norbye committed
    enums end up in structs, so they should come first.
Commits on May 3, 2009
  1. fix and test for issue 38 (server does not respond to binary requests)

    Eric Lambert authored Trond Norbye committed
Commits on Apr 17, 2009
  1. Dustin Sallings
  2. Dustin Sallings

    More docs.

    dustin authored
  3. Dustin Sallings
  4. Dustin Sallings

    Doxygenating.

    dustin authored
  5. Dustin Sallings

    Added documentation on the cache interface

    Trond Norbye authored dustin committed
  6. Dustin Sallings

    Create a generic cache for objects of same size

    Trond Norbye authored dustin committed
    The suffix pool could be thread-local and use the generic cache
Commits on Apr 13, 2009
  1. Ignore SIGHUP when running as a daemon

    Trond Norbye authored
Commits on Apr 12, 2009
  1. dormando Dustin Sallings

    Changelog update from 1.2.8 fixes.

    dormando authored dustin committed
  2. dormando Dustin Sallings

    fix resumption of accept loop under multithread

    dormando authored dustin committed
    critical fix:
    under multithreaded mode, in version 1.2.7, memcached would not resume
    accepting connections after hitting the max connections limit.
    
    this is due to a pre-existing bug in the accept_new_conns code, which
    was hit when the "fix" was rolled in to ensure listening threads never
    did real work.  Previously, at least one closing connection would
    (randomly) be on the accepting thread, so the test for (are we the
    listening thread?) would still work.
Commits on Apr 10, 2009
  1. Steve Yen

    repeated s option in getopt

    steveyen authored
Commits on Apr 6, 2009
  1. Dustin Sallings
  2. Dustin Sallings

    Stat growth assertion.

    dustin authored
  3. Dustin Sallings
  4. Dustin Sallings

    Fix for incorrect stats buffer reallocation size and a test case for it

    Toru Maesaka authored dustin committed
Commits on Apr 3, 2009
  1. Dustin Sallings

    Changelog update.

    dustin authored
Commits on Apr 2, 2009
  1. Dustin Sallings
  2. Dustin Sallings

    Don't expose the protocol used to the client api of the stats

    Trond Norbye authored dustin committed
    (dustin) I made some changes to the original growth code to pass in
    the required size.
Commits on Apr 1, 2009
  1. dormando Dustin Sallings

    'stats reset' resets new main stats.

    dormando authored dustin committed
Commits on Mar 31, 2009
  1. Dustin Sallings

    Changelog updates for 1.3.3.

    dustin authored
Commits on Mar 30, 2009
  1. Dustin Sallings
  2. dormando Dustin Sallings

    two new troubleshooting stats

    dormando authored dustin committed
    accepting_conns for completeness, and listen_disabled_num to see how many
    times you've hit maxconns and disabled incoming connections. probably a good
    stat to monitor and flip out on.
  3. dormando Dustin Sallings

    add a cmd_flush stat

    dormando authored dustin committed
    shouldn't add much lock contention for just this.
    I want to add this one stat (mayb a few more?) since it's happened more than
    once that folks think memcached is broken when a cron or something is calling
    'flush_all' once a minute.
Commits on Mar 29, 2009
  1. Dustin Sallings
  2. dormando Dustin Sallings

    print why a key was not found when extra verbose

    dormando authored dustin committed
    simple logs for simple people. Patch inspired by a bug hunting session with
    evan weaver. It's been useful a few times since.
  3. dormando Dustin Sallings

    dumb hack to self-repair stuck slabs

    dormando authored dustin committed
    since 1.2.6, most of the refcount leaks have been quashed.
    I still get them in production, extremely rarely.
    It's possibly we'll have refcount leaks on and off even in the future.
    
    This hack acknowledges this and exists since we want to guarantee, as much as
    possible, that memcached is a stable service. Having to monitor for and
    restart the service on account of "rare bugs" isn't acceptable.
  4. dormando Dustin Sallings

    fix a handful of socket listen bugs.

    dormando authored dustin committed
    AF_UNSPEC is still necessary for UDP sometimes.
    We guarantee that at least one address returned from getaddrinfo binds
    successfully, and in cases of lacking network or ipv6 addresses some of those
    socket() calls might fail. That's normal. We were bailing on them.
    This change also removes the need to pass AI_ADDRCONFIG on machines with ipv6
    stacks disabled.
Commits on Mar 27, 2009
  1. Dustin Sallings

    Added a HACKING file.

    dustin authored
Commits on Mar 26, 2009
  1. Dustin Sallings

    Use git's version number for releases.

    dustin authored
    This will allow more specific version numbers, while simplifying a
    proper release down to a tag and make dist.
    
    During development, ./version.sh needs to run periodically to update
    the version number.  I'd recommend just adding a call to version.sh as
    a git post commit hook:
    
    % cat .git/hooks/post-commit
    
    echo "Updating version."
    ./version.sh
    
    (and make sure the file is executable)
  2. Steve Yen
Something went wrong with that request. Please try again.