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