summaryrefslogtreecommitdiff
tag name1.2.2 (08b8bcf3bb768da2da882000c0bc4c5da76be2a4)
tag date2009-03-03 00:09:24 -0800
tagged byDustin Sallings <dustin@spy.net>
tagged objectcommit 24d9040b72...
downloadmemcached-1.2.2.tar.gz
Release 1.2.2
* Command tokenizer performance and cleanliness improvement. Patch contributed by Paolo Borelli <paolo.borelli@gmail.com>. * Add notes to README about MacOS, libevent and kqueue. * Windows Patch integration -- part 1, warnings elimination. * Allow changes to the verbosity level of the server with a new "verbosity" command and some compiler cleanups. Patch contributed by Paolo Borelli <paolo.borelli@gmail.com>. * Add cleanup patch from "Tim Yardley" <liquid@haveheart.com> to clean up source spacing issues, fix -Wall warnings, add some null checks, adds asserts at the top of each function for any use of conn *c without checking to see if c is NULL first. * Also adjust clean-whitespace.pl to clean *.ac files. Add script to test-suite to test for tabs. * Add clarification of flush_all in the protocol docs from Elizabeth Mattijsen <liz@dijkmat.nl> * Add patch from Eli Bingham <eli@pandora.com> to re-enable the -n switch to memcached. * Add patch to collect eviction statistics from Jean-Francois BUSTARRET <jfbustarret@wat.tv>. * Updated docs, added new test cases for t/stats.t * Add more test cases using larger buffer sizes up to and greater than 1MB. * Remove unused parameter to item_size_ok() * Use a single printf() in usage() * Add a failing test for conforming with maximum connections. * crash fix from Thomas van Gulick <thomas@partyflock.nl> in conn_shrink(), passing &ptr, instead of ptr to realloc(). * Fix a number of places where (s)printf calls were using unsigned or signed formats that did not match their arguments. * Add support for stdbool.h and stdint.h to use the bool and uint8_t types. * Major refactoring - move API calls for assoc/items/slabs to their own individual header files. Add apropriate const and static declarations as appropriate. * Avoid type-punning. Do a more efficient realloc inside the conn_shrink routine. * Fix overflow bug where uninitialized access to slabclass caused size-0 mallocs during slab preallocation. * Use EXIT_SUCCESS/EXIT_FAILURE constants. * Convert some sprintf calls to snprintf to protect against buffer overflows. * Explicitly compare against NULL or zero in many places. * Steven Grimm <sgrimm@facebook.com>: Per-object-type stats collection support. Specify the object type delimiter with the -D command line option. Turn stats gathering on and off with "stats detail on" and "stats detail off". Dump the per-object-type details with "stats detail dump". * Steven Grimm <sgrimm@facebook.com>: Fix an off-by-one error in the multithreaded version's message passing code. * fix expirations of items set with absolute expiration times in the past, before the server's start time. bug was introduced in 1.2.0 with rel_time_t. Thanks to Adam Dixon <adamtdixon@gmail.com> for the bug report and test case! * Steven Grimm <sgrimm@facebook.com>: Performance improvements: * Steve Peters <steve@fisharerojo.org>: OpenBSD has a malloc.h, but warns to use stdlib.h instead * Steven Grimm <sgrimm@facebook.com>: Add support for multithreaded execution. Run configure with "--enable-threads" to enable. See doc/threads.txt for details. * Iain Wade <iwade@optusnet.com.au>: Fix for UDP responses on non-"get" commands. * Steven Grimm <sgrimm@facebook.com>: Dynamic sizing of hashtable to reduce collisions on very large caches and conserve memory on small caches. * Steven Grimm <sgrimm@facebook.com>: New faster hash function.