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