12008-07-24 [Version 1.2.6-rc1 released] 2 3 * Add support for newer automake (Facebook) 4 5 * DTrace support for Solaris/etc (Trond Norbye) 6 7 * LRU tests (Steve Yen) 8 9 * Handle negative length items properly (Dormando) 10 11 * Don't leave stale data after failed set attempts (Dormando) 12 13 * Fix refcount leaks, which would result in OOM's on all sets 14 (Dormando) 15 16 * Fix buffer overruns (Dustin Sallings, Tomash Brechko) 17 18 * Fix memory corruption with CAS (Dustin Sallings) 19 202008-06-11 21 22 * Fix -k to work with -d. (reported by Gary Zhu) 23 242008-03-02 [Version 1.2.5-rc1 released] 25 26 * Add per-item-class tracking of evictions and OOM errors (dormando) 27 28 * Optimize item_alloc() a little (dormando) 29 30 * Give 'SERVER_ERROR out of memory' errors more context (dormando) 31 32 * Enable usage of large memory pages under solaris 33 ([email protected]) 34 35 * Enable UDP by default, clean up server socket code 36 ([email protected]) 37 38 * 'noreply' support (Tomash Brechko) 39 40 * IPv6 support, and IPv6 multi-interface support ([email protected]) 41 42 * Add compiler options for Sun Studio compilers with --enable-threads 43 ([email protected]) 44 45 * Add --enable-64bit for mulitarget platforms ([email protected]) 46 47 * Use gettimeofday(2) instead of time(2). 48 49 * Make -k option work (Tomash Brechko) 50 51 * Fix chunk slab alignment ([email protected]) 52 532007-12-06 [Version 1.2.4 released] 54 552007-12-05 56 57 * Fix compilation on panther (JS and Dormando) 58 59 * More CAS tests (Chris Goffinet) 60 61 * Final fixes for all 1.2.4 features are in, -rc2 sent out. 62 632007-11-19 [Version 1.2.4-rc1 released] 64 652007-11-19 Dormando <[email protected]> 66 67 * Patch series from Tomash Brechko <[email protected]>: 68 Minor fixes and optimisations. 69 70 * Patches from Chris, Dustin, and Dormando to fix CAS. 71 72 * Prepping for 1.2.4 release. 73 742007-11-13 Dormando <[email protected]> 75 76 * Adjusted patch from js <[email protected]>: Compile on OS X Panther 77 and earlier. 78 792007-11-12 Steven Grimm <[email protected]> 80 81 * Patch from Tomash Brechko <[email protected]>: Always send 82 "SERVER_ERROR out of memory" when memory exhausted. 83 842007-10-15 Paul Lindner <[email protected]> 85 86 * Patch from David Bremner <[email protected]> that implements 87 a new option "-a" which takes an octal permission mask 88 (like chmod) sets the permissions on the unix domain socket 89 (specified by "-s"). 90 912007-10-03 Paul Lindner <[email protected]> 92 * Incorporate "cas" operation developed by Dustin 93 Sallings <[email protected]> This change allows you 94 to do atomic changes to an existing key. 95 96 * Fix for stats.evictions not incrementing 97 when exptime == 0 items are kicked off the cache. 98 from Jean-Francois BUSTARRET <[email protected]>. 99 100 * Fix for do_item_cachedump() which was returning 101 an incorrect timestamp. 102 103 * Switch to unsigned 64-bit increment/decrement counters 104 from Evan Miller and Dustin Sallings. 105 106 * Add append command support written by Filipe Laborde. 107 Thread safe version plus prepend command from Maxim Dounin 108 <[email protected]> 109 110 * The memcached-tool script can now display stats. Patch 111 provided by Dan Christian <[email protected]> 112 113 * Fix for Unix Domain sockets on FreeBSD 114 FreeBSD's sendmsg() requires msg_name in msghdr structure 115 to be NULL if not used, setting msg_namelen to 0 isn't enough. 116 Patch from Maxim Dounin <[email protected]> 117 1182007-08-21 Paul Lindner <[email protected]> 119 * Incorporate incrememnt patch from Evan Miller 120 <[email protected]> to define increment overflow 121 behavior. 122 1232007-08-07 Leon Brocard <[email protected]> 124 * Bring the memcached.1 manpage up to date 125 1262007-08-06 Paul Lindner <[email protected]> 127 * Fix crash when using -P and -d flags on x86_64 128 with latest libevent release. 129 1302007-07-08 Steven Grimm <[email protected]> 131 132 * Item stats commands weren't thread-safe; wrap them with locks 133 when compiled in multithreaded mode. 134 * The "stats items" command now works again; it broke with the 135 introduction of the powers-of-N chunk size change. 136 1372007-07-06 [Version 1.2.3 released] 138 1392007-06-19 Paul Lindner <[email protected]> 140 141 * Solaris portability fixes from Trond Norbye 142 1432007-05-29 Paul Lindner <[email protected]> 144 145 * Properly document evictions statistic value 146 1472007-05-10 Paul Lindner <[email protected]> 148 149 * Flesh out tests for unix domain sockets and binary data. 150 * Update rpm spec file to run tests 151 1522007-05-07 Paul Lindner <[email protected]> 153 154 * Fix compilation bug on freebsd 6.x (and maybe others) 155 * Update RPM spec file per redhat bugzilla #238994 156 * Move unistd.h to memcached.h to get rid of warnings 157 * Add string.h to thread.c to get correctly prototyped strerror() 158 1592007-05-04 Paul Lindner <[email protected]> 160 161 * Add fedora/redhat style init script and RPM spec file 162 1632007-05-12 [Version 1.2.2 released] 164 1652007-04-16 Steven Grimm <[email protected]> 166 167 * Command tokenizer performance and cleanliness improvement. 168 Patch contributed by Paolo Borelli <[email protected]>. 169 1702007-04-16 Paul Lindner <[email protected]> 171 172 * Add notes to README about MacOS, libevent and kqueue. 173 174 * Windows Patch integration -- part 1, warnings elimination. 175 1762007-04-12 Paul Lindner <[email protected]> 177 178 * Allow changes to the verbosity level of the server with a new 179 "verbosity" command and some compiler cleanups. 180 Patch contributed by Paolo Borelli <[email protected]>. 181 1822007-04-08 Paul Lindner <[email protected]> 183 184 * Add cleanup patch from "Tim Yardley" <[email protected]> to 185 clean up source spacing issues, fix -Wall warnings, add some 186 null checks, adds asserts at the top of each function for any 187 use of conn *c without checking to see if c is NULL first. 188 189 * Also adjust clean-whitespace.pl to clean *.ac files. Add 190 script to test-suite to test for tabs. 191 1922007-04-04 Paul Lindner <[email protected]> 193 194 * Add clarification of flush_all in the protocol docs 195 from Elizabeth Mattijsen <[email protected]> 196 1972007-03-31 Paul Lindner <[email protected]> 198 199 * Add patch from Eli Bingham <[email protected]> to 200 re-enable the -n switch to memcached. 201 2022007-03-20 Paul Lindner <[email protected]> 203 * Add patch to collect eviction statistics from 204 Jean-Francois BUSTARRET <[email protected]>. 205 206 * Updated docs, added new test cases for t/stats.t 207 2082007-03-18 Paul Lindner <[email protected]> 209 210 * Add more test cases using larger buffer sizes up to and greater 211 than 1MB. 212 213 * Remove unused parameter to item_size_ok() 214 215 * Use a single printf() in usage() 216 217 * Add a failing test for conforming with maximum connections. 218 2192007-03-17 220 * crash fix from Thomas van Gulick <[email protected]> in 221 conn_shrink(), passing &ptr, instead of ptr to realloc(). 222 2232007-03-05 Paul Lindner <[email protected]> 224 * Fix a number of places where (s)printf calls were using unsigned 225 or signed formats that did not match their arguments. 226 227 * Add support for stdbool.h and stdint.h to use the bool and 228 uint8_t types. 229 230 * Major refactoring - move API calls for assoc/items/slabs to 231 their own individual header files. Add apropriate const and 232 static declarations as appropriate. 233 234 * Avoid type-punning. Do a more efficient realloc inside the 235 conn_shrink routine. 236 237 * Fix overflow bug where uninitialized access to slabclass caused 238 size-0 mallocs during slab preallocation. 239 240 * Use EXIT_SUCCESS/EXIT_FAILURE constants. 241 242 * Convert some sprintf calls to snprintf to protect against 243 buffer overflows. 244 245 * Explicitly compare against NULL or zero in many places. 246 2472007-03-05 248 * Steven Grimm <[email protected]>: Per-object-type stats collection 249 support. Specify the object type delimiter with the -D command line 250 option. Turn stats gathering on and off with "stats detail on" and 251 "stats detail off". Dump the per-object-type details with 252 "stats detail dump". 253 2542007-03-01 255 * Steven Grimm <[email protected]>: Fix an off-by-one error in the 256 multithreaded version's message passing code. 257 2582006-12-23 259 * fix expirations of items set with absolute expiration times in 260 the past, before the server's start time. bug was introduced in 261 1.2.0 with rel_time_t. Thanks to Adam Dixon 262 <[email protected]> for the bug report and test case! 263 2642006-11-26 265 * Steven Grimm <[email protected]>: Performance improvements: 266 267 Dynamic sizing of hashtable to reduce collisions on very large 268 caches and conserve memory on small caches. 269 270 Only reposition items in the LRU queue once a minute, to reduce 271 overhead of accessing extremely frequently-used items. 272 273 Stop listening for new connections until an existing one closes 274 if we run out of available file descriptors. 275 276 Command parser refactoring: Add a single-pass tokenizer to cut 277 down on string scanning. Split the command processing into 278 separate functions for easier profiling and better readability. 279 Pass key lengths along with the keys in all API functions that 280 need keys, to avoid needing to call strlen() repeatedly. 281 2822006-11-25 283 * Steve Peters <[email protected]>: OpenBSD has a malloc.h, 284 but warns to use stdlib.h instead 285 2862006-11-22 287 * Steven Grimm <[email protected]>: Add support for multithreaded 288 execution. Run configure with "--enable-threads" to enable. See 289 doc/threads.txt for details. 290 2912006-11-13 292 * Iain Wade <[email protected]>: Fix for UDP responses on non-"get" 293 commands. 294 2952006-10-15 296 * Steven Grimm <[email protected]>: Dynamic sizing of hashtable to 297 reduce collisions on very large caches and conserve memory on 298 small caches. 299 3002006-10-13 301 * Steven Grimm <[email protected]>: New faster hash function. 302 3032006-09-20 304 305 * don't listen on UDP by default; more clear message when UDP port in use 306 3072006-09-09 308 * release 1.2.0 (along with 1.1.13, which is the more tested branch) 309 310 nobody has run 1.2.0 in production, to my knowledge. facebook has run 311 their pre-merge-with-trunk version, but bugs were discovered (and fixed) 312 after the merge. there might be more. you've been warned. :) 313 3142006-09-04 315 * improved autoconf libevent detection, from the Tor project. 316 3172006-09-03 318 * test suite and lot of expiration, delete, flush_all, etc corner 319 case bugs fixed (Brad Fitzpatrick) 320 3212006-09-02 322 * Nathan Neulinger <[email protected]>: fix breakage in expiration code 323 causing expiration times to not be processed correctly. 324 3252006-08-21 326 * Nathan Neulinger <[email protected]>: fix incompatabilities with 327 unix domain socket support and the UDP code and clean up stale 328 sockets 329 3302006-08-20 331 * Nathan Neulinger <[email protected]>: unix domain socket support 332 3332006-05-03 334 * Steven Grimm <[email protected]>: big bunch of changes: 335 big CPU reduction work, UDP-based interface, increased memory 336 efficiency. (intertwined patch, committed all together) 337 <http://lists.danga.com/pipermail/memcached/2006-May/002164.html> 338 or see svn commit logs 339 3402006-04-30 341 * River Tarnell: autoconf work for Solaris 10. Brad: 342 merge and verify it works on Nexenta. 343 3442006-03-04 345 * avva: bucket/generation patch (old, but Brad's just finally 346 committing it) 347 3482006-01-01 349 * Brad Fitzpatrick <[email protected]>: allocate 1 slab per class 350 on start-up, to avoid confusing users with out-of-memory errors 351 later. this is 18 MB of allocation on start, unless max memory 352 allowed with -m is lower, in which case only the smaller slab 353 classes are allocated. 354 3552005-08-09 356 * Elizabeth Mattijsen <[email protected]>: needed a way to flush all 357 memcached backend servers, but not at exactly the same time (to 358 reduce load peaks), I've added some simple functionality to the 359 memcached protocol in the "flush_all" command that allows you to 360 specify a time at which the flush will actually occur (instead of 361 always at the moment the "flush_all" command is received). 362 3632005-05-25 364 * patch from Peter van Dijk <[email protected]> to make 365 stderr unbuffered, for running under daemontools 366 3672005-04-04 368 * patch from Don MacAskill <[email protected]> 'flush_all' doesn't 369 seem to work properly. Basically, if you try to add a key which 370 is present, but expired, the store fails but the old key is no 371 longer expired. 372 373 * release 1.1.12 374 3752005-01-14 376 * Date: Thu, 18 Nov 2004 15:25:59 -0600 377 From: David Phillips <[email protected]> 378 Here is a patch to configure.ac and Makefile.am to put the man page in 379 the correct location. Trying to install the man page from a 380 subdirectory results in the subdirectory being used in the install 381 path (it tries to install to doc/memcached.1). This is the correct 382 thing to do: 383 384 - create a Makefile.am in the doc directory that installs the man page 385 with man_MANS 386 - modify Makefile.am in the base directory to reference the doc 387 directory using SUBDIRS 388 - modify the AC_CONFIG_FILES macro in configure.ac to output the 389 Makefile in doc 390 391 3922005-01-14 393 * pidfile saving support from Lisa Seelye <[email protected]>, sent 394 Jan 13, 2005 395 3962005-01-14 397 * don't delete libevent events that haven't been added (the deltimer) 398 patch from Ted Schundler <[email protected]> 399 4002004-12-10 401 * document -M and -r in manpage (Doug Porter <[email protected]>) 402 4032004-07-22 404 * fix buffer overflow in items.c with 250 byte keys along with 405 other info on the same line going into a 256 byte char[]. 406 thanks to Andrei Nigmatulin <[email protected]> 407 4082004-06-15 409 * immediate deletes weren't being unlinked a few seconds, 410 preventing "add" commands to the same key in that time period. 411 thanks to Michael Alan Dorman <[email protected]> for the 412 bug report and demo script. 413 4142004-04-30 415 * released 1.1.11 416 4172004-04-24 418 * Avva: Add a new command line option: -r , to maximize core file 419 limit. 420 4212004-03-31 422 * Avva: Use getrlimit and setrlimit to set limits for number of 423 simultaneously open file descriptors. Get the current limits and 424 try to raise them if they're not enough for the specified (or the 425 default) setting of max connections. 426 4272004-02-24 428 * Adds a '-M' flag to turn off tossing items from the cache. 429 (Jason Titus <[email protected]>) 430 4312004-02-19 (Evan) 432 * Install manpage on "make install", etc. 433 4342003-12-30 (Brad) 435 * remove static build stuff. interferes with PAM setuid stuff 436 and was only included as a possible fix with the old memory 437 allocator. really shouldn't make a difference. 438 * add Jay Bonci's Debian scripts and manpage 439 * release version 1.1.10 440 4412003-12-01 (Avva) 442 * New command: flush_all, causes all existing items to 443 be invalidated immediately (without deleting them from 444 memory, merely causing memcached to no longer return them). 4452003-10-23 446 * Shift init code around to fix daemon mode on FreeBSD, 447 * and drop root only after creating the server socket (to 448 * allow the use of privileged ports) 449 * version 1.1.10pre 450 4512003-10-09 452 * BSD compile fixes from Ryan T. Dean 453 * version 1.1.9 454 4552003-09-29 456 * ignore SIGPIPE at start instead of crashing in rare cases it 457 comes up. no other code had to be modified, since everything 458 else is already dead-connection-aware. (avva) 459 4602003-09-09 (Avva, Lisa Marie Seelye <[email protected]>) 461 * setuid support 462 4632003-09-05 (Avva) 464 * accept all new connections in the same event (so we work with ET epoll) 465 * mark all items as clsid=0 after slab page reassignment to please future 466 asserts (on the road to making slab page reassignment work fully) 467 4682003-08-12 (Brad Fitzpatrick) 469 * use TCP_CORK on Linux or TCP_PUSH on BSD 470 * only use TCP_NODELAY when we don't have alternatives 471 4722003-08-10 473 * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva) 474 4752003-08-10 476 * support multiple levels of verbosity (-vv) 477 4782003-08-10 (Evan Martin) 479 * Makefile.am: debug, optimization, and static flags are controlled 480 by the configure script. 481 * configure.ac: 482 - allow specifying libevent directory with --with-libevent=DIR 483 - check for malloc.h (unavailable on BSDs) 484 - check for socklen_t (unavailable on OSX) 485 * assoc.c, items.c, slabs.c: Remove some unused headers. 486 * memcached.c: allow for nonexistence of malloc.h; #define a POSIX 487 macro to import mlockall flags. 488 4892003-07-29 490 * version 1.1.7 491 * big bug fix: item exptime 0 meant expire immediately, not never 492 * version 1.1.8 493 4942003-07-22 495 * make 'delete' take second arg, of time to refuse new add/replace 496 * set/add/replace/delete can all take abs or delta time (delta can't 497 be larger than a month) 498 4992003-07-21 500 * added doc/protocol.txt 501 5022003-07-01 503 * report CPU usage in stats 504 5052003-06-30 506 * version 1.1.6 507 * fix a number of obscure bugs 508 * more stats reporting 509 5102003-06-10 511 * removing use of Judy; use a hash. (judy caused memory fragmentation) 512 * shrink some structures 513 * security improvements 514 * version 1.1.0 515 5162003-06-18 517 * changing maxsize back to an unsigned int 518 5192003-06-16 520 * adding PHP support 521 * added CONTRIBUTORS file 522 * version 1.0.4 523 5242003-06-15 525 * forgot to distribute website/api (still learning auto*) 526 * version 1.0.3 527 5282003-06-15 529 * update to version 1.0.2 530 * autoconf/automake fixes for older versions 531 * make stats report version number 532 * change license from GPL to BSD 533 534Fri, 13 Jun 2003 10:05:51 -0700 Evan Martin <[email protected]> 535 536 * configure.ac, autogen.sh, Makefile.am: Use autotools. 537 * items.c, memcached.c: #include <time.h> for time(), 538 printf time_t as %lu (is this correct?), 539 minor warnings fixes. 540 541