12007-10-03 Paul Lindner <[email protected]> 2 * Incorporate "cas" operation developed by Dustin 3 Sallings <[email protected]> This change allows you 4 to do atomic changes to an existing key. 5 6 * Fix for stats.evictions not incrementing 7 when exptime == 0 items are kicked off the cache. 8 from Jean-Francois BUSTARRET <[email protected]>. 9 10 * Fix for do_item_cachedump() which was returning 11 an incorrect timestamp. 12 13 * Switch to unsigned 64-bit increment/decrement counters 14 from Evan Miller and Dustin Sallings. 15 16 * Add append command support written by Filipe Laborde. 17 Tests/protocol doc updates by Paul Lindner. 18 19 * The memcached-tool script can now display stats. Patch 20 provided by Dan Christian <[email protected]> 21 22 * Fix for Unix Domain sockets on FreeBSD 23 FreeBSD's sendmsg() requires msg_name in msghdr structure 24 to be NULL if not used, setting msg_namelen to 0 isn't enough. 25 Patch from Maxim Dounin <[email protected]> 26 272007-08-21 Paul Lindner <[email protected]> 28 * Incorporate incrememnt patch from Evan Miller 29 <[email protected]> to define increment overflow 30 behavior. 31 322007-08-07 Leon Brocard <[email protected]> 33 * Bring the memcached.1 manpage up to date 34 352007-08-06 Paul Lindner <[email protected]> 36 * Fix crash when using -P and -d flags on x86_64 37 with latest libevent release. 38 392007-07-08 Steven Grimm <[email protected]> 40 41 * Item stats commands weren't thread-safe; wrap them with locks 42 when compiled in multithreaded mode. 43 * The "stats items" command now works again; it broke with the 44 introduction of the powers-of-N chunk size change. 45 462007-07-06 [Version 1.2.3 released] 47 482007-06-19 Paul Lindner <[email protected]> 49 50 * Solaris portability fixes from Trond Norbye 51 522007-05-29 Paul Lindner <[email protected]> 53 54 * Properly document evictions statistic value 55 562007-05-10 Paul Lindner <[email protected]> 57 58 * Flesh out tests for unix domain sockets and binary data. 59 * Update rpm spec file to run tests 60 612007-05-07 Paul Lindner <[email protected]> 62 63 * Fix compilation bug on freebsd 6.x (and maybe others) 64 * Update RPM spec file per redhat bugzilla #238994 65 * Move unistd.h to memcached.h to get rid of warnings 66 * Add string.h to thread.c to get correctly prototyped strerror() 67 682007-05-04 Paul Lindner <[email protected]> 69 70 * Add fedora/redhat style init script and RPM spec file 71 722007-05-12 [Version 1.2.2 released] 73 742007-04-16 Steven Grimm <[email protected]> 75 76 * Command tokenizer performance and cleanliness improvement. 77 Patch contributed by Paolo Borelli <[email protected]>. 78 792007-04-16 Paul Lindner <[email protected]> 80 81 * Add notes to README about MacOS, libevent and kqueue. 82 83 * Windows Patch integration -- part 1, warnings elimination. 84 852007-04-12 Paul Lindner <[email protected]> 86 87 * Allow changes to the verbosity level of the server with a new 88 "verbosity" command and some compiler cleanups. 89 Patch contributed by Paolo Borelli <[email protected]>. 90 912007-04-08 Paul Lindner <[email protected]> 92 93 * Add cleanup patch from "Tim Yardley" <[email protected]> to 94 clean up source spacing issues, fix -Wall warnings, add some 95 null checks, adds asserts at the top of each function for any 96 use of conn *c without checking to see if c is NULL first. 97 98 * Also adjust clean-whitespace.pl to clean *.ac files. Add 99 script to test-suite to test for tabs. 100 1012007-04-04 Paul Lindner <[email protected]> 102 103 * Add clarification of flush_all in the protocol docs 104 from Elizabeth Mattijsen <[email protected]> 105 1062007-03-31 Paul Lindner <[email protected]> 107 108 * Add patch from Eli Bingham <[email protected]> to 109 re-enable the -n switch to memcached. 110 1112007-03-20 Paul Lindner <[email protected]> 112 * Add patch to collect eviction statistics from 113 Jean-Francois BUSTARRET <[email protected]>. 114 115 * Updated docs, added new test cases for t/stats.t 116 1172007-03-18 Paul Lindner <[email protected]> 118 119 * Add more test cases using larger buffer sizes up to and greater 120 than 1MB. 121 122 * Remove unused parameter to item_size_ok() 123 124 * Use a single printf() in usage() 125 126 * Add a failing test for conforming with maximum connections. 127 1282007-03-17 129 * crash fix from Thomas van Gulick <[email protected]> in 130 conn_shrink(), passing &ptr, instead of ptr to realloc(). 131 1322007-03-05 Paul Lindner <[email protected]> 133 * Fix a number of places where (s)printf calls were using unsigned 134 or signed formats that did not match their arguments. 135 136 * Add support for stdbool.h and stdint.h to use the bool and 137 uint8_t types. 138 139 * Major refactoring - move API calls for assoc/items/slabs to 140 their own individual header files. Add apropriate const and 141 static declarations as appropriate. 142 143 * Avoid type-punning. Do a more efficient realloc inside the 144 conn_shrink routine. 145 146 * Fix overflow bug where uninitialized access to slabclass caused 147 size-0 mallocs during slab preallocation. 148 149 * Use EXIT_SUCCESS/EXIT_FAILURE constants. 150 151 * Convert some sprintf calls to snprintf to protect against 152 buffer overflows. 153 154 * Explicitly compare against NULL or zero in many places. 155 1562007-03-05 157 * Steven Grimm <[email protected]>: Per-object-type stats collection 158 support. Specify the object type delimiter with the -D command line 159 option. Turn stats gathering on and off with "stats detail on" and 160 "stats detail off". Dump the per-object-type details with 161 "stats detail dump". 162 1632007-03-01 164 * Steven Grimm <[email protected]>: Fix an off-by-one error in the 165 multithreaded version's message passing code. 166 1672006-12-23 168 * fix expirations of items set with absolute expiration times in 169 the past, before the server's start time. bug was introduced in 170 1.2.0 with rel_time_t. Thanks to Adam Dixon 171 <[email protected]> for the bug report and test case! 172 1732006-11-26 174 * Steven Grimm <[email protected]>: Performance improvements: 175 176 Dynamic sizing of hashtable to reduce collisions on very large 177 caches and conserve memory on small caches. 178 179 Only reposition items in the LRU queue once a minute, to reduce 180 overhead of accessing extremely frequently-used items. 181 182 Stop listening for new connections until an existing one closes 183 if we run out of available file descriptors. 184 185 Command parser refactoring: Add a single-pass tokenizer to cut 186 down on string scanning. Split the command processing into 187 separate functions for easier profiling and better readability. 188 Pass key lengths along with the keys in all API functions that 189 need keys, to avoid needing to call strlen() repeatedly. 190 1912006-11-25 192 * Steve Peters <[email protected]>: OpenBSD has a malloc.h, 193 but warns to use stdlib.h instead 194 1952006-11-22 196 * Steven Grimm <[email protected]>: Add support for multithreaded 197 execution. Run configure with "--enable-threads" to enable. See 198 doc/threads.txt for details. 199 2002006-11-13 201 * Iain Wade <[email protected]>: Fix for UDP responses on non-"get" 202 commands. 203 2042006-10-15 205 * Steven Grimm <[email protected]>: Dynamic sizing of hashtable to 206 reduce collisions on very large caches and conserve memory on 207 small caches. 208 2092006-10-13 210 * Steven Grimm <[email protected]>: New faster hash function. 211 2122006-09-20 213 214 * don't listen on UDP by default; more clear message when UDP port in use 215 2162006-09-09 217 * release 1.2.0 (along with 1.1.13, which is the more tested branch) 218 219 nobody has run 1.2.0 in production, to my knowledge. facebook has run 220 their pre-merge-with-trunk version, but bugs were discovered (and fixed) 221 after the merge. there might be more. you've been warned. :) 222 2232006-09-04 224 * improved autoconf libevent detection, from the Tor project. 225 2262006-09-03 227 * test suite and lot of expiration, delete, flush_all, etc corner 228 case bugs fixed (Brad Fitzpatrick) 229 2302006-09-02 231 * Nathan Neulinger <[email protected]>: fix breakage in expiration code 232 causing expiration times to not be processed correctly. 233 2342006-08-21 235 * Nathan Neulinger <[email protected]>: fix incompatabilities with 236 unix domain socket support and the UDP code and clean up stale 237 sockets 238 2392006-08-20 240 * Nathan Neulinger <[email protected]>: unix domain socket support 241 2422006-05-03 243 * Steven Grimm <[email protected]>: big bunch of changes: 244 big CPU reduction work, UDP-based interface, increased memory 245 efficiency. (intertwined patch, committed all together) 246 <http://lists.danga.com/pipermail/memcached/2006-May/002164.html> 247 or see svn commit logs 248 2492006-04-30 250 * River Tarnell: autoconf work for Solaris 10. Brad: 251 merge and verify it works on Nexenta. 252 2532006-03-04 254 * avva: bucket/generation patch (old, but Brad's just finally 255 committing it) 256 2572006-01-01 258 * Brad Fitzpatrick <[email protected]>: allocate 1 slab per class 259 on start-up, to avoid confusing users with out-of-memory errors 260 later. this is 18 MB of allocation on start, unless max memory 261 allowed with -m is lower, in which case only the smaller slab 262 classes are allocated. 263 2642005-08-09 265 * Elizabeth Mattijsen <[email protected]>: needed a way to flush all 266 memcached backend servers, but not at exactly the same time (to 267 reduce load peaks), I've added some simple functionality to the 268 memcached protocol in the "flush_all" command that allows you to 269 specify a time at which the flush will actually occur (instead of 270 always at the moment the "flush_all" command is received). 271 2722005-05-25 273 * patch from Peter van Dijk <[email protected]> to make 274 stderr unbuffered, for running under daemontools 275 2762005-04-04 277 * patch from Don MacAskill <[email protected]> 'flush_all' doesn't 278 seem to work properly. Basically, if you try to add a key which 279 is present, but expired, the store fails but the old key is no 280 longer expired. 281 282 * release 1.1.12 283 2842005-01-14 285 * Date: Thu, 18 Nov 2004 15:25:59 -0600 286 From: David Phillips <[email protected]> 287 Here is a patch to configure.ac and Makefile.am to put the man page in 288 the correct location. Trying to install the man page from a 289 subdirectory results in the subdirectory being used in the install 290 path (it tries to install to doc/memcached.1). This is the correct 291 thing to do: 292 293 - create a Makefile.am in the doc directory that installs the man page 294 with man_MANS 295 - modify Makefile.am in the base directory to reference the doc 296 directory using SUBDIRS 297 - modify the AC_CONFIG_FILES macro in configure.ac to output the 298 Makefile in doc 299 300 3012005-01-14 302 * pidfile saving support from Lisa Seelye <[email protected]>, sent 303 Jan 13, 2005 304 3052005-01-14 306 * don't delete libevent events that haven't been added (the deltimer) 307 patch from Ted Schundler <[email protected]> 308 3092004-12-10 310 * document -M and -r in manpage (Doug Porter <[email protected]>) 311 3122004-07-22 313 * fix buffer overflow in items.c with 250 byte keys along with 314 other info on the same line going into a 256 byte char[]. 315 thanks to Andrei Nigmatulin <[email protected]> 316 3172004-06-15 318 * immediate deletes weren't being unlinked a few seconds, 319 preventing "add" commands to the same key in that time period. 320 thanks to Michael Alan Dorman <[email protected]> for the 321 bug report and demo script. 322 3232004-04-30 324 * released 1.1.11 325 3262004-04-24 327 * Avva: Add a new command line option: -r , to maximize core file 328 limit. 329 3302004-03-31 331 * Avva: Use getrlimit and setrlimit to set limits for number of 332 simultaneously open file descriptors. Get the current limits and 333 try to raise them if they're not enough for the specified (or the 334 default) setting of max connections. 335 3362004-02-24 337 * Adds a '-M' flag to turn off tossing items from the cache. 338 (Jason Titus <[email protected]>) 339 3402004-02-19 (Evan) 341 * Install manpage on "make install", etc. 342 3432003-12-30 (Brad) 344 * remove static build stuff. interferes with PAM setuid stuff 345 and was only included as a possible fix with the old memory 346 allocator. really shouldn't make a difference. 347 * add Jay Bonci's Debian scripts and manpage 348 * release version 1.1.10 349 3502003-12-01 (Avva) 351 * New command: flush_all, causes all existing items to 352 be invalidated immediately (without deleting them from 353 memory, merely causing memcached to no longer return them). 3542003-10-23 355 * Shift init code around to fix daemon mode on FreeBSD, 356 * and drop root only after creating the server socket (to 357 * allow the use of privileged ports) 358 * version 1.1.10pre 359 3602003-10-09 361 * BSD compile fixes from Ryan T. Dean 362 * version 1.1.9 363 3642003-09-29 365 * ignore SIGPIPE at start instead of crashing in rare cases it 366 comes up. no other code had to be modified, since everything 367 else is already dead-connection-aware. (avva) 368 3692003-09-09 (Avva, Lisa Marie Seelye <[email protected]>) 370 * setuid support 371 3722003-09-05 (Avva) 373 * accept all new connections in the same event (so we work with ET epoll) 374 * mark all items as clsid=0 after slab page reassignment to please future 375 asserts (on the road to making slab page reassignment work fully) 376 3772003-08-12 (Brad Fitzpatrick) 378 * use TCP_CORK on Linux or TCP_PUSH on BSD 379 * only use TCP_NODELAY when we don't have alternatives 380 3812003-08-10 382 * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva) 383 3842003-08-10 385 * support multiple levels of verbosity (-vv) 386 3872003-08-10 (Evan Martin) 388 * Makefile.am: debug, optimization, and static flags are controlled 389 by the configure script. 390 * configure.ac: 391 - allow specifying libevent directory with --with-libevent=DIR 392 - check for malloc.h (unavailable on BSDs) 393 - check for socklen_t (unavailable on OSX) 394 * assoc.c, items.c, slabs.c: Remove some unused headers. 395 * memcached.c: allow for nonexistence of malloc.h; #define a POSIX 396 macro to import mlockall flags. 397 3982003-07-29 399 * version 1.1.7 400 * big bug fix: item exptime 0 meant expire immediately, not never 401 * version 1.1.8 402 4032003-07-22 404 * make 'delete' take second arg, of time to refuse new add/replace 405 * set/add/replace/delete can all take abs or delta time (delta can't 406 be larger than a month) 407 4082003-07-21 409 * added doc/protocol.txt 410 4112003-07-01 412 * report CPU usage in stats 413 4142003-06-30 415 * version 1.1.6 416 * fix a number of obscure bugs 417 * more stats reporting 418 4192003-06-10 420 * removing use of Judy; use a hash. (judy caused memory fragmentation) 421 * shrink some structures 422 * security improvements 423 * version 1.1.0 424 4252003-06-18 426 * changing maxsize back to an unsigned int 427 4282003-06-16 429 * adding PHP support 430 * added CONTRIBUTORS file 431 * version 1.0.4 432 4332003-06-15 434 * forgot to distribute website/api (still learning auto*) 435 * version 1.0.3 436 4372003-06-15 438 * update to version 1.0.2 439 * autoconf/automake fixes for older versions 440 * make stats report version number 441 * change license from GPL to BSD 442 443Fri, 13 Jun 2003 10:05:51 -0700 Evan Martin <[email protected]> 444 445 * configure.ac, autogen.sh, Makefile.am: Use autotools. 446 * items.c, memcached.c: #include <time.h> for time(), 447 printf time_t as %lu (is this correct?), 448 minor warnings fixes. 449 450