12009-04-10 2 3 * *critical bugfix*. In 1.2.7 under multithreaded mode, memcached 4 would never restart accepting connections after hitting the 5 maximum connection limit. 6 72009-04-02 8 9 * Fix: Rewrote stat buffer handling (Trond) 10 112009-03-31 12 13 * Feature: -b option for configuring backlog 14 15 * Feature: stats settings 16 17 * Fix: binary stat alignment bug (bug26) 18 19 * Fix: buffer overflow in stats (bug27) 20 21 * Fix: recycle memory more aggressively (bug14) 22 23 * Fix: incr validation (bug31) 24 25 * Fix: 64-bit incr/decr delta problem (bug21) 26 27 * Fix: Ascii UDP set (bug36) 28 29 * Fix: stats slabs' used chunks (bug29) 30 31 * Fix: stats reset resetting more (bug22) 32 33 * Misc: More tests, documentation, cleanliness (godliness) 34 35 * Stable merge (stats, debuggability, listen bugs) 36 372009-03-11 38 39 * Protocol: Binary complete (Dustin, Trond, Toru, etc...) 40 41 * Performance: improvements from facebook (Dormando) 42 43 * Performance: per-thread stats (Trond) 44 45 * Performance: Hash expansion in its own thread (Trond) 46 47 * Stats: Lots of new stats (Dustin) 48 49 * Bug fixes (various) 50 51 See the 1.3.2 release notes or revision control for more detail. 52 532008-09-06 54 * Display error status on listen failures (Dormando) 55 56 * Remove managed instance code. Incomplete/etc. (Dormando) 57 58 * Handle broken IPV6 stacks better (Brian Aker) 59 60 * Generate warnings on setsockopt() failures (Brian Aker) 61 62 * Fix some indentation issues (Brian Aker) 63 64 * UDP/TCP can be disabled by setting their port to zero (Brian Aker) 65 66 * Zero out libevent thread structures before use (Ricky Zhou) 67 68 * New stat: Last accessed time for last evicted item per slab class. 69 (Dormando) 70 71 * Use a dedicated socket accept thread (Facebook) 72 73 * Add -R option. Limit the number of requests processed by a connection 74 at once. Prevents starving other threads if bulk loading. (Facebook) 75 762008-07-29 [Version 1.2.6 released] 77 782008-07-24 [Version 1.2.6-rc1 released] 79 80 * Add support for newer automake (Facebook) 81 82 * DTrace support for Solaris/etc (Trond Norbye) 83 84 * LRU tests (Steve Yen) 85 86 * Handle negative length items properly (Dormando) 87 88 * Don't leave stale data after failed set attempts (Dormando) 89 90 * Fix refcount leaks, which would result in OOM's on all sets 91 (Dormando) 92 93 * Fix buffer overruns (Dustin Sallings, Tomash Brechko) 94 95 * Fix memory corruption with CAS (Dustin Sallings) 96 972008-06-11 98 99 * Fix -k to work with -d. (reported by Gary Zhu) 100 1012008-03-02 [Version 1.2.5-rc1 released] 102 103 * Add per-item-class tracking of evictions and OOM errors (dormando) 104 105 * Optimize item_alloc() a little (dormando) 106 107 * Give 'SERVER_ERROR out of memory' errors more context (dormando) 108 109 * Enable usage of large memory pages under solaris 110 ([email protected]) 111 112 * Enable UDP by default, clean up server socket code 113 ([email protected]) 114 115 * 'noreply' support (Tomash Brechko) 116 117 * IPv6 support, and IPv6 multi-interface support ([email protected]) 118 119 * Add compiler options for Sun Studio compilers with --enable-threads 120 ([email protected]) 121 122 * Add --enable-64bit for mulitarget platforms ([email protected]) 123 124 * Use gettimeofday(2) instead of time(2). 125 126 * Make -k option work (Tomash Brechko) 127 128 * Fix chunk slab alignment ([email protected]) 129 1302007-12-06 [Version 1.2.4 released] 131 1322007-12-05 133 134 * Fix compilation on panther (JS and Dormando) 135 136 * More CAS tests (Chris Goffinet) 137 138 * Final fixes for all 1.2.4 features are in, -rc2 sent out. 139 1402007-11-19 [Version 1.2.4-rc1 released] 141 1422007-11-19 Dormando <[email protected]> 143 144 * Patch series from Tomash Brechko <[email protected]>: 145 Minor fixes and optimisations. 146 147 * Patches from Chris, Dustin, and Dormando to fix CAS. 148 149 * Prepping for 1.2.4 release. 150 1512007-11-13 Dormando <[email protected]> 152 153 * Adjusted patch from js <[email protected]>: Compile on OS X Panther 154 and earlier. 155 1562007-11-12 Steven Grimm <[email protected]> 157 158 * Patch from Tomash Brechko <[email protected]>: Always send 159 "SERVER_ERROR out of memory" when memory exhausted. 160 1612007-10-15 Paul Lindner <[email protected]> 162 163 * Patch from David Bremner <[email protected]> that implements 164 a new option "-a" which takes an octal permission mask 165 (like chmod) sets the permissions on the unix domain socket 166 (specified by "-s"). 167 1682007-10-03 Paul Lindner <[email protected]> 169 * Incorporate "cas" operation developed by Dustin 170 Sallings <[email protected]> This change allows you 171 to do atomic changes to an existing key. 172 173 * Fix for stats.evictions not incrementing 174 when exptime == 0 items are kicked off the cache. 175 from Jean-Francois BUSTARRET <[email protected]>. 176 177 * Fix for do_item_cachedump() which was returning 178 an incorrect timestamp. 179 180 * Switch to unsigned 64-bit increment/decrement counters 181 from Evan Miller and Dustin Sallings. 182 183 * Add append command support written by Filipe Laborde. 184 Thread safe version plus prepend command from Maxim Dounin 185 <[email protected]> 186 187 * The memcached-tool script can now display stats. Patch 188 provided by Dan Christian <[email protected]> 189 190 * Fix for Unix Domain sockets on FreeBSD 191 FreeBSD's sendmsg() requires msg_name in msghdr structure 192 to be NULL if not used, setting msg_namelen to 0 isn't enough. 193 Patch from Maxim Dounin <[email protected]> 194 1952007-08-21 Paul Lindner <[email protected]> 196 * Incorporate incrememnt patch from Evan Miller 197 <[email protected]> to define increment overflow 198 behavior. 199 2002007-08-07 Leon Brocard <[email protected]> 201 * Bring the memcached.1 manpage up to date 202 2032007-08-06 Paul Lindner <[email protected]> 204 * Fix crash when using -P and -d flags on x86_64 205 with latest libevent release. 206 2072007-07-08 Steven Grimm <[email protected]> 208 209 * Item stats commands weren't thread-safe; wrap them with locks 210 when compiled in multithreaded mode. 211 * The "stats items" command now works again; it broke with the 212 introduction of the powers-of-N chunk size change. 213 2142007-07-06 [Version 1.2.3 released] 215 2162007-06-19 Paul Lindner <[email protected]> 217 218 * Solaris portability fixes from Trond Norbye 219 2202007-05-29 Paul Lindner <[email protected]> 221 222 * Properly document evictions statistic value 223 2242007-05-10 Paul Lindner <[email protected]> 225 226 * Flesh out tests for unix domain sockets and binary data. 227 * Update rpm spec file to run tests 228 2292007-05-07 Paul Lindner <[email protected]> 230 231 * Fix compilation bug on freebsd 6.x (and maybe others) 232 * Update RPM spec file per redhat bugzilla #238994 233 * Move unistd.h to memcached.h to get rid of warnings 234 * Add string.h to thread.c to get correctly prototyped strerror() 235 2362007-05-04 Paul Lindner <[email protected]> 237 238 * Add fedora/redhat style init script and RPM spec file 239 2402007-05-12 [Version 1.2.2 released] 241 2422007-04-16 Steven Grimm <[email protected]> 243 244 * Command tokenizer performance and cleanliness improvement. 245 Patch contributed by Paolo Borelli <[email protected]>. 246 2472007-04-16 Paul Lindner <[email protected]> 248 249 * Add notes to README about MacOS, libevent and kqueue. 250 251 * Windows Patch integration -- part 1, warnings elimination. 252 2532007-04-12 Paul Lindner <[email protected]> 254 255 * Allow changes to the verbosity level of the server with a new 256 "verbosity" command and some compiler cleanups. 257 Patch contributed by Paolo Borelli <[email protected]>. 258 2592007-04-08 Paul Lindner <[email protected]> 260 261 * Add cleanup patch from "Tim Yardley" <[email protected]> to 262 clean up source spacing issues, fix -Wall warnings, add some 263 null checks, adds asserts at the top of each function for any 264 use of conn *c without checking to see if c is NULL first. 265 266 * Also adjust clean-whitespace.pl to clean *.ac files. Add 267 script to test-suite to test for tabs. 268 2692007-04-04 Paul Lindner <[email protected]> 270 271 * Add clarification of flush_all in the protocol docs 272 from Elizabeth Mattijsen <[email protected]> 273 2742007-03-31 Paul Lindner <[email protected]> 275 276 * Add patch from Eli Bingham <[email protected]> to 277 re-enable the -n switch to memcached. 278 2792007-03-20 Paul Lindner <[email protected]> 280 * Add patch to collect eviction statistics from 281 Jean-Francois BUSTARRET <[email protected]>. 282 283 * Updated docs, added new test cases for t/stats.t 284 2852007-03-18 Paul Lindner <[email protected]> 286 287 * Add more test cases using larger buffer sizes up to and greater 288 than 1MB. 289 290 * Remove unused parameter to item_size_ok() 291 292 * Use a single printf() in usage() 293 294 * Add a failing test for conforming with maximum connections. 295 2962007-03-17 297 * crash fix from Thomas van Gulick <[email protected]> in 298 conn_shrink(), passing &ptr, instead of ptr to realloc(). 299 3002007-03-05 Paul Lindner <[email protected]> 301 * Fix a number of places where (s)printf calls were using unsigned 302 or signed formats that did not match their arguments. 303 304 * Add support for stdbool.h and stdint.h to use the bool and 305 uint8_t types. 306 307 * Major refactoring - move API calls for assoc/items/slabs to 308 their own individual header files. Add apropriate const and 309 static declarations as appropriate. 310 311 * Avoid type-punning. Do a more efficient realloc inside the 312 conn_shrink routine. 313 314 * Fix overflow bug where uninitialized access to slabclass caused 315 size-0 mallocs during slab preallocation. 316 317 * Use EXIT_SUCCESS/EXIT_FAILURE constants. 318 319 * Convert some sprintf calls to snprintf to protect against 320 buffer overflows. 321 322 * Explicitly compare against NULL or zero in many places. 323 3242007-03-05 325 * Steven Grimm <[email protected]>: Per-object-type stats collection 326 support. Specify the object type delimiter with the -D command line 327 option. Turn stats gathering on and off with "stats detail on" and 328 "stats detail off". Dump the per-object-type details with 329 "stats detail dump". 330 3312007-03-01 332 * Steven Grimm <[email protected]>: Fix an off-by-one error in the 333 multithreaded version's message passing code. 334 3352006-12-23 336 * fix expirations of items set with absolute expiration times in 337 the past, before the server's start time. bug was introduced in 338 1.2.0 with rel_time_t. Thanks to Adam Dixon 339 <[email protected]> for the bug report and test case! 340 3412006-11-26 342 * Steven Grimm <[email protected]>: Performance improvements: 343 344 Dynamic sizing of hashtable to reduce collisions on very large 345 caches and conserve memory on small caches. 346 347 Only reposition items in the LRU queue once a minute, to reduce 348 overhead of accessing extremely frequently-used items. 349 350 Stop listening for new connections until an existing one closes 351 if we run out of available file descriptors. 352 353 Command parser refactoring: Add a single-pass tokenizer to cut 354 down on string scanning. Split the command processing into 355 separate functions for easier profiling and better readability. 356 Pass key lengths along with the keys in all API functions that 357 need keys, to avoid needing to call strlen() repeatedly. 358 3592006-11-25 360 * Steve Peters <[email protected]>: OpenBSD has a malloc.h, 361 but warns to use stdlib.h instead 362 3632006-11-22 364 * Steven Grimm <[email protected]>: Add support for multithreaded 365 execution. Run configure with "--enable-threads" to enable. See 366 doc/threads.txt for details. 367 3682006-11-13 369 * Iain Wade <[email protected]>: Fix for UDP responses on non-"get" 370 commands. 371 3722006-10-15 373 * Steven Grimm <[email protected]>: Dynamic sizing of hashtable to 374 reduce collisions on very large caches and conserve memory on 375 small caches. 376 3772006-10-13 378 * Steven Grimm <[email protected]>: New faster hash function. 379 3802006-09-20 381 382 * don't listen on UDP by default; more clear message when UDP port in use 383 3842006-09-09 385 * release 1.2.0 (along with 1.1.13, which is the more tested branch) 386 387 nobody has run 1.2.0 in production, to my knowledge. facebook has run 388 their pre-merge-with-trunk version, but bugs were discovered (and fixed) 389 after the merge. there might be more. you've been warned. :) 390 3912006-09-04 392 * improved autoconf libevent detection, from the Tor project. 393 3942006-09-03 395 * test suite and lot of expiration, delete, flush_all, etc corner 396 case bugs fixed (Brad Fitzpatrick) 397 3982006-09-02 399 * Nathan Neulinger <[email protected]>: fix breakage in expiration code 400 causing expiration times to not be processed correctly. 401 4022006-08-21 403 * Nathan Neulinger <[email protected]>: fix incompatabilities with 404 unix domain socket support and the UDP code and clean up stale 405 sockets 406 4072006-08-20 408 * Nathan Neulinger <[email protected]>: unix domain socket support 409 4102006-05-03 411 * Steven Grimm <[email protected]>: big bunch of changes: 412 big CPU reduction work, UDP-based interface, increased memory 413 efficiency. (intertwined patch, committed all together) 414 <http://lists.danga.com/pipermail/memcached/2006-May/002164.html> 415 or see svn commit logs 416 4172006-04-30 418 * River Tarnell: autoconf work for Solaris 10. Brad: 419 merge and verify it works on Nexenta. 420 4212006-03-04 422 * avva: bucket/generation patch (old, but Brad's just finally 423 committing it) 424 4252006-01-01 426 * Brad Fitzpatrick <[email protected]>: allocate 1 slab per class 427 on start-up, to avoid confusing users with out-of-memory errors 428 later. this is 18 MB of allocation on start, unless max memory 429 allowed with -m is lower, in which case only the smaller slab 430 classes are allocated. 431 4322005-08-09 433 * Elizabeth Mattijsen <[email protected]>: needed a way to flush all 434 memcached backend servers, but not at exactly the same time (to 435 reduce load peaks), I've added some simple functionality to the 436 memcached protocol in the "flush_all" command that allows you to 437 specify a time at which the flush will actually occur (instead of 438 always at the moment the "flush_all" command is received). 439 4402005-05-25 441 * patch from Peter van Dijk <[email protected]> to make 442 stderr unbuffered, for running under daemontools 443 4442005-04-04 445 * patch from Don MacAskill <[email protected]> 'flush_all' doesn't 446 seem to work properly. Basically, if you try to add a key which 447 is present, but expired, the store fails but the old key is no 448 longer expired. 449 450 * release 1.1.12 451 4522005-01-14 453 * Date: Thu, 18 Nov 2004 15:25:59 -0600 454 From: David Phillips <[email protected]> 455 Here is a patch to configure.ac and Makefile.am to put the man page in 456 the correct location. Trying to install the man page from a 457 subdirectory results in the subdirectory being used in the install 458 path (it tries to install to doc/memcached.1). This is the correct 459 thing to do: 460 461 - create a Makefile.am in the doc directory that installs the man page 462 with man_MANS 463 - modify Makefile.am in the base directory to reference the doc 464 directory using SUBDIRS 465 - modify the AC_CONFIG_FILES macro in configure.ac to output the 466 Makefile in doc 467 468 4692005-01-14 470 * pidfile saving support from Lisa Seelye <[email protected]>, sent 471 Jan 13, 2005 472 4732005-01-14 474 * don't delete libevent events that haven't been added (the deltimer) 475 patch from Ted Schundler <[email protected]> 476 4772004-12-10 478 * document -M and -r in manpage (Doug Porter <[email protected]>) 479 4802004-07-22 481 * fix buffer overflow in items.c with 250 byte keys along with 482 other info on the same line going into a 256 byte char[]. 483 thanks to Andrei Nigmatulin <[email protected]> 484 4852004-06-15 486 * immediate deletes weren't being unlinked a few seconds, 487 preventing "add" commands to the same key in that time period. 488 thanks to Michael Alan Dorman <[email protected]> for the 489 bug report and demo script. 490 4912004-04-30 492 * released 1.1.11 493 4942004-04-24 495 * Avva: Add a new command line option: -r , to maximize core file 496 limit. 497 4982004-03-31 499 * Avva: Use getrlimit and setrlimit to set limits for number of 500 simultaneously open file descriptors. Get the current limits and 501 try to raise them if they're not enough for the specified (or the 502 default) setting of max connections. 503 5042004-02-24 505 * Adds a '-M' flag to turn off tossing items from the cache. 506 (Jason Titus <[email protected]>) 507 5082004-02-19 (Evan) 509 * Install manpage on "make install", etc. 510 5112003-12-30 (Brad) 512 * remove static build stuff. interferes with PAM setuid stuff 513 and was only included as a possible fix with the old memory 514 allocator. really shouldn't make a difference. 515 * add Jay Bonci's Debian scripts and manpage 516 * release version 1.1.10 517 5182003-12-01 (Avva) 519 * New command: flush_all, causes all existing items to 520 be invalidated immediately (without deleting them from 521 memory, merely causing memcached to no longer return them). 5222003-10-23 523 * Shift init code around to fix daemon mode on FreeBSD, 524 * and drop root only after creating the server socket (to 525 * allow the use of privileged ports) 526 * version 1.1.10pre 527 5282003-10-09 529 * BSD compile fixes from Ryan T. Dean 530 * version 1.1.9 531 5322003-09-29 533 * ignore SIGPIPE at start instead of crashing in rare cases it 534 comes up. no other code had to be modified, since everything 535 else is already dead-connection-aware. (avva) 536 5372003-09-09 (Avva, Lisa Marie Seelye <[email protected]>) 538 * setuid support 539 5402003-09-05 (Avva) 541 * accept all new connections in the same event (so we work with ET epoll) 542 * mark all items as clsid=0 after slab page reassignment to please future 543 asserts (on the road to making slab page reassignment work fully) 544 5452003-08-12 (Brad Fitzpatrick) 546 * use TCP_CORK on Linux or TCP_PUSH on BSD 547 * only use TCP_NODELAY when we don't have alternatives 548 5492003-08-10 550 * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva) 551 5522003-08-10 553 * support multiple levels of verbosity (-vv) 554 5552003-08-10 (Evan Martin) 556 * Makefile.am: debug, optimization, and static flags are controlled 557 by the configure script. 558 * configure.ac: 559 - allow specifying libevent directory with --with-libevent=DIR 560 - check for malloc.h (unavailable on BSDs) 561 - check for socklen_t (unavailable on OSX) 562 * assoc.c, items.c, slabs.c: Remove some unused headers. 563 * memcached.c: allow for nonexistence of malloc.h; #define a POSIX 564 macro to import mlockall flags. 565 5662003-07-29 567 * version 1.1.7 568 * big bug fix: item exptime 0 meant expire immediately, not never 569 * version 1.1.8 570 5712003-07-22 572 * make 'delete' take second arg, of time to refuse new add/replace 573 * set/add/replace/delete can all take abs or delta time (delta can't 574 be larger than a month) 575 5762003-07-21 577 * added doc/protocol.txt 578 5792003-07-01 580 * report CPU usage in stats 581 5822003-06-30 583 * version 1.1.6 584 * fix a number of obscure bugs 585 * more stats reporting 586 5872003-06-10 588 * removing use of Judy; use a hash. (judy caused memory fragmentation) 589 * shrink some structures 590 * security improvements 591 * version 1.1.0 592 5932003-06-18 594 * changing maxsize back to an unsigned int 595 5962003-06-16 597 * adding PHP support 598 * added CONTRIBUTORS file 599 * version 1.0.4 600 6012003-06-15 602 * forgot to distribute website/api (still learning auto*) 603 * version 1.0.3 604 6052003-06-15 606 * update to version 1.0.2 607 * autoconf/automake fixes for older versions 608 * make stats report version number 609 * change license from GPL to BSD 610 611Fri, 13 Jun 2003 10:05:51 -0700 Evan Martin <[email protected]> 612 613 * configure.ac, autogen.sh, Makefile.am: Use autotools. 614 * items.c, memcached.c: #include <time.h> for time(), 615 printf time_t as %lu (is this correct?), 616 minor warnings fixes. 617 618