12007-12-06 [Version 1.2.4 released] 2 32007-12-05 4 5 * Fix compilation on panther (JS and Dormando) 6 7 * More CAS tests (Chris Goffinet) 8 9 * Final fixes for all 1.2.4 features are in, -rc2 sent out. 10 112007-11-19 [Version 1.2.4-rc1 released] 12 132007-11-19 Dormando <[email protected]> 14 15 * Patch series from Tomash Brechko <[email protected]>: 16 Minor fixes and optimisations. 17 18 * Patches from Chris, Dustin, and Dormando to fix CAS. 19 20 * Prepping for 1.2.4 release. 21 222007-11-13 Dormando <[email protected]> 23 24 * Adjusted patch from js <[email protected]>: Compile on OS X Panther 25 and earlier. 26 272007-11-12 Steven Grimm <[email protected]> 28 29 * Patch from Tomash Brechko <[email protected]>: Always send 30 "SERVER_ERROR out of memory" when memory exhausted. 31 322007-10-15 Paul Lindner <[email protected]> 33 34 * Patch from David Bremner <[email protected]> that implements 35 a new option "-a" which takes an octal permission mask 36 (like chmod) sets the permissions on the unix domain socket 37 (specified by "-s"). 38 392007-10-03 Paul Lindner <[email protected]> 40 * Incorporate "cas" operation developed by Dustin 41 Sallings <[email protected]> This change allows you 42 to do atomic changes to an existing key. 43 44 * Fix for stats.evictions not incrementing 45 when exptime == 0 items are kicked off the cache. 46 from Jean-Francois BUSTARRET <[email protected]>. 47 48 * Fix for do_item_cachedump() which was returning 49 an incorrect timestamp. 50 51 * Switch to unsigned 64-bit increment/decrement counters 52 from Evan Miller and Dustin Sallings. 53 54 * Add append command support written by Filipe Laborde. 55 Thread safe version plus prepend command from Maxim Dounin 56 <[email protected]> 57 58 * The memcached-tool script can now display stats. Patch 59 provided by Dan Christian <[email protected]> 60 61 * Fix for Unix Domain sockets on FreeBSD 62 FreeBSD's sendmsg() requires msg_name in msghdr structure 63 to be NULL if not used, setting msg_namelen to 0 isn't enough. 64 Patch from Maxim Dounin <[email protected]> 65 662007-08-21 Paul Lindner <[email protected]> 67 * Incorporate incrememnt patch from Evan Miller 68 <[email protected]> to define increment overflow 69 behavior. 70 712007-08-07 Leon Brocard <[email protected]> 72 * Bring the memcached.1 manpage up to date 73 742007-08-06 Paul Lindner <[email protected]> 75 * Fix crash when using -P and -d flags on x86_64 76 with latest libevent release. 77 782007-07-08 Steven Grimm <[email protected]> 79 80 * Item stats commands weren't thread-safe; wrap them with locks 81 when compiled in multithreaded mode. 82 * The "stats items" command now works again; it broke with the 83 introduction of the powers-of-N chunk size change. 84 852007-07-06 [Version 1.2.3 released] 86 872007-06-19 Paul Lindner <[email protected]> 88 89 * Solaris portability fixes from Trond Norbye 90 912007-05-29 Paul Lindner <[email protected]> 92 93 * Properly document evictions statistic value 94 952007-05-10 Paul Lindner <[email protected]> 96 97 * Flesh out tests for unix domain sockets and binary data. 98 * Update rpm spec file to run tests 99 1002007-05-07 Paul Lindner <[email protected]> 101 102 * Fix compilation bug on freebsd 6.x (and maybe others) 103 * Update RPM spec file per redhat bugzilla #238994 104 * Move unistd.h to memcached.h to get rid of warnings 105 * Add string.h to thread.c to get correctly prototyped strerror() 106 1072007-05-04 Paul Lindner <[email protected]> 108 109 * Add fedora/redhat style init script and RPM spec file 110 1112007-05-12 [Version 1.2.2 released] 112 1132007-04-16 Steven Grimm <[email protected]> 114 115 * Command tokenizer performance and cleanliness improvement. 116 Patch contributed by Paolo Borelli <[email protected]>. 117 1182007-04-16 Paul Lindner <[email protected]> 119 120 * Add notes to README about MacOS, libevent and kqueue. 121 122 * Windows Patch integration -- part 1, warnings elimination. 123 1242007-04-12 Paul Lindner <[email protected]> 125 126 * Allow changes to the verbosity level of the server with a new 127 "verbosity" command and some compiler cleanups. 128 Patch contributed by Paolo Borelli <[email protected]>. 129 1302007-04-08 Paul Lindner <[email protected]> 131 132 * Add cleanup patch from "Tim Yardley" <[email protected]> to 133 clean up source spacing issues, fix -Wall warnings, add some 134 null checks, adds asserts at the top of each function for any 135 use of conn *c without checking to see if c is NULL first. 136 137 * Also adjust clean-whitespace.pl to clean *.ac files. Add 138 script to test-suite to test for tabs. 139 1402007-04-04 Paul Lindner <[email protected]> 141 142 * Add clarification of flush_all in the protocol docs 143 from Elizabeth Mattijsen <[email protected]> 144 1452007-03-31 Paul Lindner <[email protected]> 146 147 * Add patch from Eli Bingham <[email protected]> to 148 re-enable the -n switch to memcached. 149 1502007-03-20 Paul Lindner <[email protected]> 151 * Add patch to collect eviction statistics from 152 Jean-Francois BUSTARRET <[email protected]>. 153 154 * Updated docs, added new test cases for t/stats.t 155 1562007-03-18 Paul Lindner <[email protected]> 157 158 * Add more test cases using larger buffer sizes up to and greater 159 than 1MB. 160 161 * Remove unused parameter to item_size_ok() 162 163 * Use a single printf() in usage() 164 165 * Add a failing test for conforming with maximum connections. 166 1672007-03-17 168 * crash fix from Thomas van Gulick <[email protected]> in 169 conn_shrink(), passing &ptr, instead of ptr to realloc(). 170 1712007-03-05 Paul Lindner <[email protected]> 172 * Fix a number of places where (s)printf calls were using unsigned 173 or signed formats that did not match their arguments. 174 175 * Add support for stdbool.h and stdint.h to use the bool and 176 uint8_t types. 177 178 * Major refactoring - move API calls for assoc/items/slabs to 179 their own individual header files. Add apropriate const and 180 static declarations as appropriate. 181 182 * Avoid type-punning. Do a more efficient realloc inside the 183 conn_shrink routine. 184 185 * Fix overflow bug where uninitialized access to slabclass caused 186 size-0 mallocs during slab preallocation. 187 188 * Use EXIT_SUCCESS/EXIT_FAILURE constants. 189 190 * Convert some sprintf calls to snprintf to protect against 191 buffer overflows. 192 193 * Explicitly compare against NULL or zero in many places. 194 1952007-03-05 196 * Steven Grimm <[email protected]>: Per-object-type stats collection 197 support. Specify the object type delimiter with the -D command line 198 option. Turn stats gathering on and off with "stats detail on" and 199 "stats detail off". Dump the per-object-type details with 200 "stats detail dump". 201 2022007-03-01 203 * Steven Grimm <[email protected]>: Fix an off-by-one error in the 204 multithreaded version's message passing code. 205 2062006-12-23 207 * fix expirations of items set with absolute expiration times in 208 the past, before the server's start time. bug was introduced in 209 1.2.0 with rel_time_t. Thanks to Adam Dixon 210 <[email protected]> for the bug report and test case! 211 2122006-11-26 213 * Steven Grimm <[email protected]>: Performance improvements: 214 215 Dynamic sizing of hashtable to reduce collisions on very large 216 caches and conserve memory on small caches. 217 218 Only reposition items in the LRU queue once a minute, to reduce 219 overhead of accessing extremely frequently-used items. 220 221 Stop listening for new connections until an existing one closes 222 if we run out of available file descriptors. 223 224 Command parser refactoring: Add a single-pass tokenizer to cut 225 down on string scanning. Split the command processing into 226 separate functions for easier profiling and better readability. 227 Pass key lengths along with the keys in all API functions that 228 need keys, to avoid needing to call strlen() repeatedly. 229 2302006-11-25 231 * Steve Peters <[email protected]>: OpenBSD has a malloc.h, 232 but warns to use stdlib.h instead 233 2342006-11-22 235 * Steven Grimm <[email protected]>: Add support for multithreaded 236 execution. Run configure with "--enable-threads" to enable. See 237 doc/threads.txt for details. 238 2392006-11-13 240 * Iain Wade <[email protected]>: Fix for UDP responses on non-"get" 241 commands. 242 2432006-10-15 244 * Steven Grimm <[email protected]>: Dynamic sizing of hashtable to 245 reduce collisions on very large caches and conserve memory on 246 small caches. 247 2482006-10-13 249 * Steven Grimm <[email protected]>: New faster hash function. 250 2512006-09-20 252 253 * don't listen on UDP by default; more clear message when UDP port in use 254 2552006-09-09 256 * release 1.2.0 (along with 1.1.13, which is the more tested branch) 257 258 nobody has run 1.2.0 in production, to my knowledge. facebook has run 259 their pre-merge-with-trunk version, but bugs were discovered (and fixed) 260 after the merge. there might be more. you've been warned. :) 261 2622006-09-04 263 * improved autoconf libevent detection, from the Tor project. 264 2652006-09-03 266 * test suite and lot of expiration, delete, flush_all, etc corner 267 case bugs fixed (Brad Fitzpatrick) 268 2692006-09-02 270 * Nathan Neulinger <[email protected]>: fix breakage in expiration code 271 causing expiration times to not be processed correctly. 272 2732006-08-21 274 * Nathan Neulinger <[email protected]>: fix incompatabilities with 275 unix domain socket support and the UDP code and clean up stale 276 sockets 277 2782006-08-20 279 * Nathan Neulinger <[email protected]>: unix domain socket support 280 2812006-05-03 282 * Steven Grimm <[email protected]>: big bunch of changes: 283 big CPU reduction work, UDP-based interface, increased memory 284 efficiency. (intertwined patch, committed all together) 285 <http://lists.danga.com/pipermail/memcached/2006-May/002164.html> 286 or see svn commit logs 287 2882006-04-30 289 * River Tarnell: autoconf work for Solaris 10. Brad: 290 merge and verify it works on Nexenta. 291 2922006-03-04 293 * avva: bucket/generation patch (old, but Brad's just finally 294 committing it) 295 2962006-01-01 297 * Brad Fitzpatrick <[email protected]>: allocate 1 slab per class 298 on start-up, to avoid confusing users with out-of-memory errors 299 later. this is 18 MB of allocation on start, unless max memory 300 allowed with -m is lower, in which case only the smaller slab 301 classes are allocated. 302 3032005-08-09 304 * Elizabeth Mattijsen <[email protected]>: needed a way to flush all 305 memcached backend servers, but not at exactly the same time (to 306 reduce load peaks), I've added some simple functionality to the 307 memcached protocol in the "flush_all" command that allows you to 308 specify a time at which the flush will actually occur (instead of 309 always at the moment the "flush_all" command is received). 310 3112005-05-25 312 * patch from Peter van Dijk <[email protected]> to make 313 stderr unbuffered, for running under daemontools 314 3152005-04-04 316 * patch from Don MacAskill <[email protected]> 'flush_all' doesn't 317 seem to work properly. Basically, if you try to add a key which 318 is present, but expired, the store fails but the old key is no 319 longer expired. 320 321 * release 1.1.12 322 3232005-01-14 324 * Date: Thu, 18 Nov 2004 15:25:59 -0600 325 From: David Phillips <[email protected]> 326 Here is a patch to configure.ac and Makefile.am to put the man page in 327 the correct location. Trying to install the man page from a 328 subdirectory results in the subdirectory being used in the install 329 path (it tries to install to doc/memcached.1). This is the correct 330 thing to do: 331 332 - create a Makefile.am in the doc directory that installs the man page 333 with man_MANS 334 - modify Makefile.am in the base directory to reference the doc 335 directory using SUBDIRS 336 - modify the AC_CONFIG_FILES macro in configure.ac to output the 337 Makefile in doc 338 339 3402005-01-14 341 * pidfile saving support from Lisa Seelye <[email protected]>, sent 342 Jan 13, 2005 343 3442005-01-14 345 * don't delete libevent events that haven't been added (the deltimer) 346 patch from Ted Schundler <[email protected]> 347 3482004-12-10 349 * document -M and -r in manpage (Doug Porter <[email protected]>) 350 3512004-07-22 352 * fix buffer overflow in items.c with 250 byte keys along with 353 other info on the same line going into a 256 byte char[]. 354 thanks to Andrei Nigmatulin <[email protected]> 355 3562004-06-15 357 * immediate deletes weren't being unlinked a few seconds, 358 preventing "add" commands to the same key in that time period. 359 thanks to Michael Alan Dorman <[email protected]> for the 360 bug report and demo script. 361 3622004-04-30 363 * released 1.1.11 364 3652004-04-24 366 * Avva: Add a new command line option: -r , to maximize core file 367 limit. 368 3692004-03-31 370 * Avva: Use getrlimit and setrlimit to set limits for number of 371 simultaneously open file descriptors. Get the current limits and 372 try to raise them if they're not enough for the specified (or the 373 default) setting of max connections. 374 3752004-02-24 376 * Adds a '-M' flag to turn off tossing items from the cache. 377 (Jason Titus <[email protected]>) 378 3792004-02-19 (Evan) 380 * Install manpage on "make install", etc. 381 3822003-12-30 (Brad) 383 * remove static build stuff. interferes with PAM setuid stuff 384 and was only included as a possible fix with the old memory 385 allocator. really shouldn't make a difference. 386 * add Jay Bonci's Debian scripts and manpage 387 * release version 1.1.10 388 3892003-12-01 (Avva) 390 * New command: flush_all, causes all existing items to 391 be invalidated immediately (without deleting them from 392 memory, merely causing memcached to no longer return them). 3932003-10-23 394 * Shift init code around to fix daemon mode on FreeBSD, 395 * and drop root only after creating the server socket (to 396 * allow the use of privileged ports) 397 * version 1.1.10pre 398 3992003-10-09 400 * BSD compile fixes from Ryan T. Dean 401 * version 1.1.9 402 4032003-09-29 404 * ignore SIGPIPE at start instead of crashing in rare cases it 405 comes up. no other code had to be modified, since everything 406 else is already dead-connection-aware. (avva) 407 4082003-09-09 (Avva, Lisa Marie Seelye <[email protected]>) 409 * setuid support 410 4112003-09-05 (Avva) 412 * accept all new connections in the same event (so we work with ET epoll) 413 * mark all items as clsid=0 after slab page reassignment to please future 414 asserts (on the road to making slab page reassignment work fully) 415 4162003-08-12 (Brad Fitzpatrick) 417 * use TCP_CORK on Linux or TCP_PUSH on BSD 418 * only use TCP_NODELAY when we don't have alternatives 419 4202003-08-10 421 * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva) 422 4232003-08-10 424 * support multiple levels of verbosity (-vv) 425 4262003-08-10 (Evan Martin) 427 * Makefile.am: debug, optimization, and static flags are controlled 428 by the configure script. 429 * configure.ac: 430 - allow specifying libevent directory with --with-libevent=DIR 431 - check for malloc.h (unavailable on BSDs) 432 - check for socklen_t (unavailable on OSX) 433 * assoc.c, items.c, slabs.c: Remove some unused headers. 434 * memcached.c: allow for nonexistence of malloc.h; #define a POSIX 435 macro to import mlockall flags. 436 4372003-07-29 438 * version 1.1.7 439 * big bug fix: item exptime 0 meant expire immediately, not never 440 * version 1.1.8 441 4422003-07-22 443 * make 'delete' take second arg, of time to refuse new add/replace 444 * set/add/replace/delete can all take abs or delta time (delta can't 445 be larger than a month) 446 4472003-07-21 448 * added doc/protocol.txt 449 4502003-07-01 451 * report CPU usage in stats 452 4532003-06-30 454 * version 1.1.6 455 * fix a number of obscure bugs 456 * more stats reporting 457 4582003-06-10 459 * removing use of Judy; use a hash. (judy caused memory fragmentation) 460 * shrink some structures 461 * security improvements 462 * version 1.1.0 463 4642003-06-18 465 * changing maxsize back to an unsigned int 466 4672003-06-16 468 * adding PHP support 469 * added CONTRIBUTORS file 470 * version 1.0.4 471 4722003-06-15 473 * forgot to distribute website/api (still learning auto*) 474 * version 1.0.3 475 4762003-06-15 477 * update to version 1.0.2 478 * autoconf/automake fixes for older versions 479 * make stats report version number 480 * change license from GPL to BSD 481 482Fri, 13 Jun 2003 10:05:51 -0700 Evan Martin <[email protected]> 483 484 * configure.ac, autogen.sh, Makefile.am: Use autotools. 485 * items.c, memcached.c: #include <time.h> for time(), 486 printf time_t as %lu (is this correct?), 487 minor warnings fixes. 488 489