Permalink
Commits on Aug 15, 2011
  1. add line about galaxification

    Henning Schmiedehausen committed Aug 15, 2011
  2. update docs and version.m4 file

    Henning Schmiedehausen committed Aug 15, 2011
  3. Add more code to parse the discovery server settings and build a clie…

    Henning Schmiedehausen committed Aug 15, 2011
    …nt connect string (same as the java code does).
Commits on Aug 14, 2011
  1. memcached wants to be stopped by SIGINT, not SIGTERM.

    Henning Schmiedehausen committed Aug 14, 2011
  2. Add a script to build the memcached galaxy tarball.

    Henning Schmiedehausen committed Aug 14, 2011
  3. make the launcher load central discovery config. Add some docs

    Henning Schmiedehausen committed Aug 14, 2011
  4. add initial galaxy pieces.

    Henning Schmiedehausen committed Aug 14, 2011
  5. Allow the loopback address to be announced. This is only useful for

    Henning Schmiedehausen committed Aug 14, 2011
    testing with a local directory service.
  6. update README.md

    Henning Schmiedehausen committed Aug 14, 2011
  7. add long command line options to memcached.

    Henning Schmiedehausen committed Aug 14, 2011
  8. update version.pl to reflect NESS_ZK build

    Henning Schmiedehausen committed Aug 14, 2011
  9. Add static compilation flag.

    Henning Schmiedehausen committed Aug 14, 2011
  10. make memcache also build without zookeeper

    Henning Schmiedehausen committed Aug 14, 2011
Commits on Jul 21, 2011
  1. update blurb

    Henning Schmiedehausen committed Jul 21, 2011
  2. add a .md file

    Henning Schmiedehausen committed Jul 21, 2011
  3. fixed version for ness build

    Henning Schmiedehausen committed Jul 21, 2011
  4. add zookeeper patch

    Henning Schmiedehausen committed Jul 21, 2011
  5. add zookeeper service announcements for memcached.

    Henning Schmiedehausen committed Jul 21, 2011
  6. rename a couple of functions that would name-clash with the zookeeper…

    Henning Schmiedehausen committed Jul 21, 2011
    … code
Commits on Jul 18, 2011
  1. Issue 200: Don't fire dtrace probe as the last thing in a function

    trondn committed Jul 18, 2011
    Some compilers (at least gcc 4.6.1) may optimize away the code
    when using certain optimization levels
Commits on Jul 15, 2011
Commits on Jul 13, 2011
  1. Issue 121: Set the runtime path when --with-libevent is used

    trondn committed Jul 13, 2011
    Without a runtime path we're failing to run the programs we're
    building as part of configure, and memcached won't find the library
    during startup.
  2. Fix autogen failure when unable to find supported command.

    nirvanazc committed with dustin Jul 13, 2011
    Closing issue 190
Commits on Jul 12, 2011
  1. shed some dead udp_port code

    dormando committed Jul 12, 2011
  2. Revert "Fix incorrect udp_port bind selection."

    dormando committed Jul 12, 2011
    Patch was incorrect; it wired in some dead code which broke tests.
    Starting memcached with -p 11212 -U 0 should disable UDP, but with this patch
    -U 0 means "use the tcp port".
  3. fix race crash for accepting new connections

    dormando committed Jul 12, 2011
    Inspired by a patch by Kazuki Ohta.
    
    Summary from a mail sent to the list by Shigeki:
    [Example Scenario]
     1. throw alot clients (well over connection limit) to connect to
    memcached.
     2. memcached's file descriptors reaches maximum setting
     3. main thread calls accept_new_conns(false) to stop polling sfd
     4. main thread's event_base_loop stops accepting incoming request
     5. main thread stops to acceess main_base at this point
     6. a client disconnects
     7. worker thread calls accept_new_conns(true) to start polling sfd
     8. accept_new_conns uses mutex to protect main_base's race condition
     9. worker thread starts loop with listen_conn
    10. worker thread calls update_event with first conn
    11. after first update_event(), main thread start polling sfd and
        starts to access main_base <- PROBLEM
    12. Worker thread continues to call update_event() with second conn
    
    At this point, worker thread and main thread both acccess and modify
    main_base.
    ---
    
    The original patch coupled polling with the once-per-second clock timer. My
    patch creates a 10ms poller which kicks off after the listener is disabled.
    Switching for a conditional would be too much rewiring for 1.4, as 1.6 solves
    this in a better way.
  4. must reallocate in incr/decr if item in use

    dormando committed Jul 12, 2011
    lost this earlier somehow. if item is in flight, don't overwrite it in
    place during add_delta.
  5. fix incr/decr race conditions for binary prot

    dormando committed Jul 12, 2011
    there were two race conditions in the incr/decr binary protocol handler. One
    was the original "fetches item outside of add_delta", and the second was in
    the initializer.
    
    I went for the quick fix by changing the semantics of the store request to be
    an ADD instead of a SET, so if someone beat them in that very narrow race the
    request simply bounces. Not perfect but this is an improvement and good enough
    for now.
Commits on Jul 11, 2011
  1. fix incr/decr race conditions for ASCII prot

    dormando committed Jul 11, 2011
    binprot requires more work, since it touches CAS and also has a race for
    initializing a missed incr.
Commits on Jul 8, 2011
  1. Fix incorrect udp_port bind selection.

    toofishes committed with dustin Jul 8, 2011
    Failed to use a local udp_port variable that can be derived from two
    different settings properties.
    
    (revealed with -Werror=unused-but-set-variable)
  2. Compile fix (-Werror=unused-but-set-variable warnings)

    toofishes committed with dustin Jul 8, 2011
    Assertion is no-longer needed after a conversion from sprintf() to
    snprintf().
Commits on Mar 1, 2011