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