xref: /memcached-1.4.29/ChangeLog (revision 7b573c21)
12007-05-10  Paul Lindner  <[email protected]>
2
3	* Flesh out tests for unix domain sockets and binary data.
4	* Update rpm spec file to run tests
5
62007-05-07  Paul Lindner  <[email protected]>
7
8	* Fix compilation bug on freebsd 6.x (and maybe others)
9	* Update RPM spec file per redhat bugzilla #238994
10	* Move unistd.h to memcached.h to get rid of warnings
11	* Add string.h to thread.c to get correctly prototyped strerror()
12
132007-05-04  Paul Lindner  <[email protected]>
14
15	* Add fedora/redhat style init script and RPM spec file
16
172007-05-12 [Version 1.2.2 released]
18
192007-04-16  Steven Grimm  <[email protected]>
20
21	* Command tokenizer performance and cleanliness improvement.
22	  Patch contributed by Paolo Borelli <[email protected]>.
23
242007-04-16  Paul Lindner  <[email protected]>
25
26	* Add notes to README about MacOS, libevent and kqueue.
27
28	* Windows Patch integration -- part 1, warnings elimination.
29
302007-04-12  Paul Lindner  <[email protected]>
31
32	* Allow changes to the verbosity level of the server with a new
33	  "verbosity" command and some compiler cleanups.
34          Patch contributed by Paolo Borelli <[email protected]>.
35
362007-04-08  Paul Lindner  <[email protected]>
37
38	* Add cleanup patch from "Tim Yardley" <[email protected]> to
39	  clean up source spacing issues, fix -Wall warnings, add some
40	  null checks, adds asserts at the top of each function for any
41	  use of conn *c without checking to see if c is NULL first.
42
43        * Also adjust clean-whitespace.pl to clean *.ac files.  Add
44          script to test-suite to test for tabs.
45
462007-04-04  Paul Lindner  <[email protected]>
47
48	* Add clarification of flush_all in the protocol docs
49	  from Elizabeth Mattijsen <[email protected]>
50
512007-03-31  Paul Lindner  <[email protected]>
52
53	* Add patch from Eli Bingham <[email protected]> to
54	  re-enable the -n switch to memcached.
55
562007-03-20  Paul Lindner  <[email protected]>
57	* Add patch to collect eviction statistics from
58          Jean-Francois BUSTARRET <[email protected]>.
59
60        * Updated docs, added new test cases for t/stats.t
61
622007-03-18  Paul Lindner  <[email protected]>
63
64	* Add more test cases using larger buffer sizes up to and greater
65	  than 1MB.
66
67	* Remove unused parameter to item_size_ok()
68
69	* Use a single printf() in usage()
70
71	* Add a failing test for conforming with maximum connections.
72
732007-03-17
74	* crash fix from Thomas van Gulick <[email protected]> in
75	  conn_shrink(), passing &ptr, instead of ptr to realloc().
76
772007-03-05  Paul Lindner  <[email protected]>
78	* Fix a number of places where (s)printf calls were using unsigned
79	  or signed formats that did not match their arguments.
80
81	* Add support for stdbool.h and stdint.h to use the bool and
82	  uint8_t types.
83
84	* Major refactoring - move API calls for assoc/items/slabs to
85	  their own individual header files.  Add apropriate const and
86	  static declarations as appropriate.
87
88	* Avoid type-punning.  Do a more efficient realloc inside the
89	  conn_shrink routine.
90
91        * Fix overflow bug where uninitialized access to slabclass caused
92	  size-0 mallocs during slab preallocation.
93
94	* Use EXIT_SUCCESS/EXIT_FAILURE constants.
95
96	* Convert some sprintf calls to snprintf to protect against
97	  buffer overflows.
98
99	* Explicitly compare against NULL or zero in many places.
100
1012007-03-05
102	* Steven Grimm <[email protected]>: Per-object-type stats collection
103	  support. Specify the object type delimiter with the -D command line
104	  option. Turn stats gathering on and off with "stats detail on" and
105	  "stats detail off". Dump the per-object-type details with
106	  "stats detail dump".
107
1082007-03-01
109	* Steven Grimm <[email protected]>: Fix an off-by-one error in the
110	  multithreaded version's message passing code.
111
1122006-12-23
113	* fix expirations of items set with absolute expiration times in
114	  the past, before the server's start time.  bug was introduced in
115	  1.2.0 with rel_time_t.  Thanks to Adam Dixon
116	  <[email protected]> for the bug report and test case!
117
1182006-11-26
119	* Steven Grimm <[email protected]>: Performance improvements:
120
121	  Dynamic sizing of hashtable to reduce collisions on very large
122	  caches and conserve memory on small caches.
123
124	  Only reposition items in the LRU queue once a minute, to reduce
125	  overhead of accessing extremely frequently-used items.
126
127	  Stop listening for new connections until an existing one closes
128	  if we run out of available file descriptors.
129
130	  Command parser refactoring: Add a single-pass tokenizer to cut
131	  down on string scanning.  Split the command processing into
132	  separate functions for easier profiling and better readability.
133	  Pass key lengths along with the keys in all API functions that
134	  need keys, to avoid needing to call strlen() repeatedly.
135
1362006-11-25
137	* Steve Peters <[email protected]>: OpenBSD has a malloc.h,
138	but warns to use stdlib.h instead
139
1402006-11-22
141	* Steven Grimm <[email protected]>: Add support for multithreaded
142	  execution. Run configure with "--enable-threads" to enable. See
143	  doc/threads.txt for details.
144
1452006-11-13
146	* Iain Wade <[email protected]>: Fix for UDP responses on non-"get"
147	 commands.
148
1492006-10-15
150	* Steven Grimm <[email protected]>: Dynamic sizing of hashtable to
151	  reduce collisions on very large caches and conserve memory on
152	  small caches.
153
1542006-10-13
155	* Steven Grimm <[email protected]>: New faster hash function.
156
1572006-09-20
158
159	* don't listen on UDP by default; more clear message when UDP port in use
160
1612006-09-09
162	* release 1.2.0 (along with 1.1.13, which is the more tested branch)
163
164	nobody has run 1.2.0 in production, to my knowledge.  facebook has run
165	their pre-merge-with-trunk version, but bugs were discovered (and fixed)
166	after the merge.  there might be more.  you've been warned.  :)
167
1682006-09-04
169	* improved autoconf libevent detection, from the Tor project.
170
1712006-09-03
172	* test suite and lot of expiration, delete, flush_all, etc corner
173	  case bugs fixed (Brad Fitzpatrick)
174
1752006-09-02
176	* Nathan Neulinger <[email protected]>: fix breakage in expiration code
177	  causing expiration times to not be processed correctly.
178
1792006-08-21
180	* Nathan Neulinger <[email protected]>: fix incompatabilities with
181	  unix domain socket support and the UDP code and clean up stale
182	  sockets
183
1842006-08-20
185	* Nathan Neulinger <[email protected]>: unix domain socket support
186
1872006-05-03
188	* Steven Grimm <[email protected]>:  big bunch of changes:
189	  big CPU reduction work, UDP-based interface, increased memory
190	  efficiency.  (intertwined patch, committed all together)
191	  <http://lists.danga.com/pipermail/memcached/2006-May/002164.html>
192	  or see svn commit logs
193
1942006-04-30
195	* River Tarnell:  autoconf work for Solaris 10.  Brad:
196	merge and verify it works on Nexenta.
197
1982006-03-04
199	* avva: bucket/generation patch (old, but Brad's just finally
200	committing it)
201
2022006-01-01
203	* Brad Fitzpatrick <[email protected]>:  allocate 1 slab per class
204	on start-up, to avoid confusing users with out-of-memory errors
205	later.  this is 18 MB of allocation on start, unless max memory
206	allowed with -m is lower, in which case only the smaller slab
207	classes are allocated.
208
2092005-08-09
210	* Elizabeth Mattijsen <[email protected]>: needed a way to flush all
211	memcached backend servers, but not at exactly the same time (to
212	reduce load peaks), I've added some simple functionality to the
213	memcached protocol in the "flush_all" command that allows you to
214	specify a time at which the flush will actually occur (instead of
215	always at the moment the "flush_all" command is received).
216
2172005-05-25
218	* patch from Peter van Dijk <[email protected]> to make
219	  stderr unbuffered, for running under daemontools
220
2212005-04-04
222	* patch from Don MacAskill <[email protected]> 'flush_all' doesn't
223	seem to work properly.  Basically, if you try to add a key which
224	is present, but expired, the store fails but the old key is no
225	longer expired.
226
227	* release 1.1.12
228
2292005-01-14
230	* Date: Thu, 18 Nov 2004 15:25:59 -0600
231	  From: David Phillips <[email protected]>
232	Here is a patch to configure.ac and Makefile.am to put the man page in
233	the correct location.  Trying to install the man page from a
234	subdirectory results in the subdirectory being used in the install
235	path (it tries to install to doc/memcached.1).  This is the correct
236	thing to  do:
237
238	- create a Makefile.am in the doc directory that installs the man page
239	  with man_MANS
240	- modify Makefile.am in the base directory to reference the doc
241  	  directory using SUBDIRS
242	- modify the AC_CONFIG_FILES macro in configure.ac to output the
243	  Makefile in doc
244
245
2462005-01-14
247	* pidfile saving support from Lisa Seelye <[email protected]>, sent
248	  Jan 13, 2005
249
2502005-01-14
251	* don't delete libevent events that haven't been added (the deltimer)
252	  patch from Ted Schundler <[email protected]>
253
2542004-12-10
255	* document -M and -r in manpage (Doug Porter <[email protected]>)
256
2572004-07-22
258	* fix buffer overflow in items.c with 250 byte keys along with
259	  other info on the same line going into a 256 byte char[].
260	  thanks to Andrei Nigmatulin <[email protected]>
261
2622004-06-15
263	* immediate deletes weren't being unlinked a few seconds,
264	  preventing "add" commands to the same key in that time period.
265	  thanks to Michael Alan Dorman <[email protected]> for the
266	  bug report and demo script.
267
2682004-04-30
269	* released 1.1.11
270
2712004-04-24
272	* Avva: Add a new command line option: -r , to maximize core file
273	limit.
274
2752004-03-31
276	* Avva: Use getrlimit and setrlimit to set limits for number of
277	simultaneously open file descriptors. Get the current limits and
278	try to raise them if they're not enough for the specified (or the
279	default) setting of max connections.
280
2812004-02-24
282	* Adds a '-M' flag to turn off tossing items from the cache.
283	  (Jason Titus <[email protected]>)
284
2852004-02-19 (Evan)
286	* Install manpage on "make install", etc.
287
2882003-12-30 (Brad)
289	* remove static build stuff.  interferes with PAM setuid stuff
290	  and was only included as a possible fix with the old memory
291	  allocator.  really shouldn't make a difference.
292	* add Jay Bonci's Debian scripts and manpage
293	* release version 1.1.10
294
2952003-12-01 (Avva)
296	* New command: flush_all, causes all existing items to
297	  be invalidated immediately (without deleting them from
298	  memory, merely causing memcached to no longer return them).
2992003-10-23
300	* Shift init code around to fix daemon mode on FreeBSD,
301	* and drop root only after creating the server socket (to
302	* allow the use of privileged ports)
303	* version 1.1.10pre
304
3052003-10-09
306	* BSD compile fixes from Ryan T. Dean
307	* version 1.1.9
308
3092003-09-29
310	* ignore SIGPIPE at start instead of crashing in rare cases it
311	  comes up.  no other code had to be modified, since everything
312	  else is already dead-connection-aware.  (avva)
313
3142003-09-09 (Avva, Lisa Marie Seelye <[email protected]>)
315	* setuid support
316
3172003-09-05 (Avva)
318	* accept all new connections in the same event (so we work with ET epoll)
319	* mark all items as clsid=0 after slab page reassignment to please future
320	  asserts (on the road to making slab page reassignment work fully)
321
3222003-08-12 (Brad Fitzpatrick)
323	* use TCP_CORK on Linux or TCP_PUSH on BSD
324	* only use TCP_NODELAY when we don't have alternatives
325
3262003-08-10
327	* disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva)
328
3292003-08-10
330	* support multiple levels of verbosity (-vv)
331
3322003-08-10  (Evan Martin)
333	* Makefile.am: debug, optimization, and static flags are controlled
334	  by the configure script.
335	* configure.ac:
336	  - allow specifying libevent directory with --with-libevent=DIR
337	  - check for malloc.h (unavailable on BSDs)
338	  - check for socklen_t (unavailable on OSX)
339	* assoc.c, items.c, slabs.c:  Remove some unused headers.
340	* memcached.c:  allow for nonexistence of malloc.h; #define a POSIX
341	  macro to import mlockall flags.
342
3432003-07-29
344	* version 1.1.7
345	* big bug fix: item exptime 0 meant expire immediately, not never
346	* version 1.1.8
347
3482003-07-22
349	* make 'delete' take second arg, of time to refuse new add/replace
350	* set/add/replace/delete can all take abs or delta time (delta can't
351	  be larger than a month)
352
3532003-07-21
354	* added doc/protocol.txt
355
3562003-07-01
357	* report CPU usage in stats
358
3592003-06-30
360	* version 1.1.6
361	* fix a number of obscure bugs
362	* more stats reporting
363
3642003-06-10
365	* removing use of Judy; use a hash.  (judy caused memory fragmentation)
366	* shrink some structures
367	* security improvements
368	* version 1.1.0
369
3702003-06-18
371	* changing maxsize back to an unsigned int
372
3732003-06-16
374	* adding PHP support
375	* added CONTRIBUTORS file
376	* version 1.0.4
377
3782003-06-15
379	* forgot to distribute website/api (still learning auto*)
380	* version 1.0.3
381
3822003-06-15
383	* update to version 1.0.2
384	* autoconf/automake fixes for older versions
385	* make stats report version number
386	* change license from GPL to BSD
387
388Fri, 13 Jun 2003 10:05:51 -0700  Evan Martin  <[email protected]>
389
390	* configure.ac, autogen.sh, Makefile.am:  Use autotools.
391	* items.c, memcached.c:  #include <time.h> for time(),
392	  printf time_t as %lu (is this correct?),
393	  minor warnings fixes.
394
395