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