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