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