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