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