root/trunk/server/ChangeLog @ 616

Revision 616, 14.0 kB (checked in by plindner, 2 years ago)

Fix for stats.evictions not incrementing when exptime == 0 items
are kicked off the cache from Jean-Francois BUSTARRET
<jfbustarret@…>.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
12007-10-03 Paul Lindner <lindner@inuus.com>
2        * Incorporate "cas" operation developed by Dustin
3          Sallings <dustin@spy.net> and implemented by
4          Chris Goffinet <goffinet@yahoo-inc.com>.  This
5          change allows you to do atomic changes to an
6          existing key.
7
8        * Fix for stats.evictions not incrementing
9          when exptime == 0 items are kicked off the cache.
10          from Jean-Francois BUSTARRET <jfbustarret@wat.tv>.
11       
122007-08-21 Paul Lindner <lindner@inuus.com>
13        * Incorporate incrememnt patch from Evan Miller
14          <emiller@imvu.com> to define increment overflow
15          behavior.
16
172007-08-07 Leon Brocard <acme@astray.com>
18        * Bring the memcached.1 manpage up to date
19
202007-08-06 Paul Lindner <lindner@inuus.com>
21        * Fix crash when using -P and -d flags on x86_64
22          with latest libevent release.
23
242007-07-08  Steven Grimm  <sgrimm@facebook.com>
25
26        * Item stats commands weren't thread-safe; wrap them with locks
27          when compiled in multithreaded mode.
28        * The "stats items" command now works again; it broke with the
29          introduction of the powers-of-N chunk size change.
30
312007-07-06 [Version 1.2.3 released]
32
332007-06-19  Paul Lindner  <lindner@mirth.inuus.com>
34
35        * Solaris portability fixes from Trond Norbye
36
372007-05-29  Paul Lindner  <lindner@mirth.inuus.com>
38
39        * Properly document evictions statistic value
40
412007-05-10  Paul Lindner  <lindner@inuus.com>
42
43        * Flesh out tests for unix domain sockets and binary data.
44        * Update rpm spec file to run tests
45
462007-05-07  Paul Lindner  <lindner@inuus.com>
47
48        * Fix compilation bug on freebsd 6.x (and maybe others)
49        * Update RPM spec file per redhat bugzilla #238994
50        * Move unistd.h to memcached.h to get rid of warnings
51        * Add string.h to thread.c to get correctly prototyped strerror()
52
532007-05-04  Paul Lindner  <lindner@inuus.com>
54
55        * Add fedora/redhat style init script and RPM spec file
56
572007-05-12 [Version 1.2.2 released]
58
592007-04-16  Steven Grimm  <sgrimm@facebook.com>
60
61        * Command tokenizer performance and cleanliness improvement.
62          Patch contributed by Paolo Borelli <paolo.borelli@gmail.com>.
63
642007-04-16  Paul Lindner  <lindner@inuus.com>
65
66        * Add notes to README about MacOS, libevent and kqueue.
67
68        * Windows Patch integration -- part 1, warnings elimination.
69
702007-04-12  Paul Lindner  <lindner@mirth.inuus.com>
71
72        * Allow changes to the verbosity level of the server with a new
73          "verbosity" command and some compiler cleanups.
74          Patch contributed by Paolo Borelli <paolo.borelli@gmail.com>.
75
762007-04-08  Paul Lindner  <lindner@inuus.com>
77
78        * Add cleanup patch from "Tim Yardley" <liquid@haveheart.com> to
79          clean up source spacing issues, fix -Wall warnings, add some
80          null checks, adds asserts at the top of each function for any
81          use of conn *c without checking to see if c is NULL first.
82
83        * Also adjust clean-whitespace.pl to clean *.ac files.  Add
84          script to test-suite to test for tabs.
85
862007-04-04  Paul Lindner  <lindner@inuus.com>
87
88        * Add clarification of flush_all in the protocol docs
89          from Elizabeth Mattijsen <liz@dijkmat.nl>
90
912007-03-31  Paul Lindner  <lindner@inuus.com>
92
93        * Add patch from Eli Bingham <eli@pandora.com> to
94          re-enable the -n switch to memcached.
95
962007-03-20  Paul Lindner  <lindner@inuus.com>
97        * Add patch to collect eviction statistics from
98          Jean-Francois BUSTARRET <jfbustarret@wat.tv>.
99
100        * Updated docs, added new test cases for t/stats.t
101
1022007-03-18  Paul Lindner  <lindner@inuus.com>
103
104        * Add more test cases using larger buffer sizes up to and greater
105          than 1MB.
106
107        * Remove unused parameter to item_size_ok()
108
109        * Use a single printf() in usage()
110
111        * Add a failing test for conforming with maximum connections.
112
1132007-03-17
114        * crash fix from Thomas van Gulick <thomas@partyflock.nl> in
115          conn_shrink(), passing &ptr, instead of ptr to realloc().
116
1172007-03-05  Paul Lindner  <lindner@inuus.com>
118        * Fix a number of places where (s)printf calls were using unsigned
119          or signed formats that did not match their arguments.
120
121        * Add support for stdbool.h and stdint.h to use the bool and
122          uint8_t types.
123
124        * Major refactoring - move API calls for assoc/items/slabs to
125          their own individual header files.  Add apropriate const and
126          static declarations as appropriate.
127       
128        * Avoid type-punning.  Do a more efficient realloc inside the
129          conn_shrink routine.
130
131        * Fix overflow bug where uninitialized access to slabclass caused
132          size-0 mallocs during slab preallocation.
133
134        * Use EXIT_SUCCESS/EXIT_FAILURE constants.
135
136        * Convert some sprintf calls to snprintf to protect against
137          buffer overflows.
138
139        * Explicitly compare against NULL or zero in many places.
140
1412007-03-05
142        * Steven Grimm <sgrimm@facebook.com>: Per-object-type stats collection
143          support. Specify the object type delimiter with the -D command line
144          option. Turn stats gathering on and off with "stats detail on" and
145          "stats detail off". Dump the per-object-type details with
146          "stats detail dump".
147
1482007-03-01
149        * Steven Grimm <sgrimm@facebook.com>: Fix an off-by-one error in the
150          multithreaded version's message passing code.
151
1522006-12-23
153        * fix expirations of items set with absolute expiration times in
154          the past, before the server's start time.  bug was introduced in
155          1.2.0 with rel_time_t.  Thanks to Adam Dixon
156          <adamtdixon@gmail.com> for the bug report and test case!
157
1582006-11-26
159        * Steven Grimm <sgrimm@facebook.com>: Performance improvements:
160         
161          Dynamic sizing of hashtable to reduce collisions on very large
162          caches and conserve memory on small caches.
163
164          Only reposition items in the LRU queue once a minute, to reduce
165          overhead of accessing extremely frequently-used items.
166
167          Stop listening for new connections until an existing one closes
168          if we run out of available file descriptors.
169
170          Command parser refactoring: Add a single-pass tokenizer to cut
171          down on string scanning.  Split the command processing into
172          separate functions for easier profiling and better readability.
173          Pass key lengths along with the keys in all API functions that
174          need keys, to avoid needing to call strlen() repeatedly.
175
1762006-11-25
177        * Steve Peters <steve@fisharerojo.org>: OpenBSD has a malloc.h,
178        but warns to use stdlib.h instead
179
1802006-11-22
181        * Steven Grimm <sgrimm@facebook.com>: Add support for multithreaded
182          execution. Run configure with "--enable-threads" to enable. See
183          doc/threads.txt for details.
184
1852006-11-13
186        * Iain Wade <iwade@optusnet.com.au>: Fix for UDP responses on non-"get"
187         commands.
188
1892006-10-15
190        * Steven Grimm <sgrimm@facebook.com>: Dynamic sizing of hashtable to
191          reduce collisions on very large caches and conserve memory on
192          small caches.
193
1942006-10-13
195        * Steven Grimm <sgrimm@facebook.com>: New faster hash function.
196
1972006-09-20
198
199        * don't listen on UDP by default; more clear message when UDP port in use
200
2012006-09-09
202        * release 1.2.0 (along with 1.1.13, which is the more tested branch)
203
204        nobody has run 1.2.0 in production, to my knowledge.  facebook has run
205        their pre-merge-with-trunk version, but bugs were discovered (and fixed)
206        after the merge.  there might be more.  you've been warned.  :)
207
2082006-09-04
209        * improved autoconf libevent detection, from the Tor project.
210
2112006-09-03
212        * test suite and lot of expiration, delete, flush_all, etc corner
213          case bugs fixed (Brad Fitzpatrick)
214
2152006-09-02
216        * Nathan Neulinger <nneul@umr.edu>: fix breakage in expiration code
217          causing expiration times to not be processed correctly.
218
2192006-08-21
220        * Nathan Neulinger <nneul@umr.edu>: fix incompatabilities with
221          unix domain socket support and the UDP code and clean up stale
222          sockets
223
2242006-08-20
225        * Nathan Neulinger <nneul@umr.edu>: unix domain socket support
226
2272006-05-03
228        * Steven Grimm <sgrimm@facebook.com>:  big bunch of changes:
229          big CPU reduction work, UDP-based interface, increased memory
230          efficiency.  (intertwined patch, committed all together)
231          <http://lists.danga.com/pipermail/memcached/2006-May/002164.html>
232          or see svn commit logs
233
2342006-04-30
235        * River Tarnell:  autoconf work for Solaris 10.  Brad:
236        merge and verify it works on Nexenta.
237
2382006-03-04
239        * avva: bucket/generation patch (old, but Brad's just finally
240        committing it)
241
2422006-01-01
243        * Brad Fitzpatrick <brad@danga.com>:  allocate 1 slab per class
244        on start-up, to avoid confusing users with out-of-memory errors
245        later.  this is 18 MB of allocation on start, unless max memory
246        allowed with -m is lower, in which case only the smaller slab
247        classes are allocated.
248
2492005-08-09
250        * Elizabeth Mattijsen <liz@dijkmat.nl>: needed a way to flush all
251        memcached backend servers, but not at exactly the same time (to
252        reduce load peaks), I've added some simple functionality to the
253        memcached protocol in the "flush_all" command that allows you to
254        specify a time at which the flush will actually occur (instead of
255        always at the moment the "flush_all" command is received).
256
2572005-05-25
258        * patch from Peter van Dijk <peter@nextgear.nl> to make
259          stderr unbuffered, for running under daemontools
260
2612005-04-04
262        * patch from Don MacAskill <don@smugmug.com> 'flush_all' doesn't
263        seem to work properly.  Basically, if you try to add a key which
264        is present, but expired, the store fails but the old key is no
265        longer expired.
266
267        * release 1.1.12
268
2692005-01-14
270        * Date: Thu, 18 Nov 2004 15:25:59 -0600
271          From: David Phillips <electrum@gmail.com>
272        Here is a patch to configure.ac and Makefile.am to put the man page in
273        the correct location.  Trying to install the man page from a
274        subdirectory results in the subdirectory being used in the install
275        path (it tries to install to doc/memcached.1).  This is the correct
276        thing to  do:
277
278        - create a Makefile.am in the doc directory that installs the man page
279          with man_MANS
280        - modify Makefile.am in the base directory to reference the doc
281          directory using SUBDIRS
282        - modify the AC_CONFIG_FILES macro in configure.ac to output the
283          Makefile in doc
284
285       
2862005-01-14
287        * pidfile saving support from Lisa Seelye <lisa@gentoo.org>, sent
288          Jan 13, 2005
289
2902005-01-14
291        * don't delete libevent events that haven't been added (the deltimer)
292          patch from Ted Schundler <tschundler@gmail.com>
293
2942004-12-10
295        * document -M and -r in manpage (Doug Porter <dsp@dsp.name>)
296
2972004-07-22
298        * fix buffer overflow in items.c with 250 byte keys along with
299          other info on the same line going into a 256 byte char[].
300          thanks to Andrei Nigmatulin <anight@monamour.ru>
301       
3022004-06-15
303        * immediate deletes weren't being unlinked a few seconds,
304          preventing "add" commands to the same key in that time period.
305          thanks to Michael Alan Dorman <mdorman@debian.org> for the
306          bug report and demo script.
307       
3082004-04-30
309        * released 1.1.11
310
3112004-04-24
312        * Avva: Add a new command line option: -r , to maximize core file
313        limit.
314
3152004-03-31
316        * Avva: Use getrlimit and setrlimit to set limits for number of
317        simultaneously open file descriptors. Get the current limits and
318        try to raise them if they're not enough for the specified (or the
319        default) setting of max connections.
320       
3212004-02-24
322        * Adds a '-M' flag to turn off tossing items from the cache.
323          (Jason Titus <jtitus@postini.com>)
324
3252004-02-19 (Evan)
326        * Install manpage on "make install", etc.
327
3282003-12-30 (Brad)
329        * remove static build stuff.  interferes with PAM setuid stuff
330          and was only included as a possible fix with the old memory
331          allocator.  really shouldn't make a difference.
332        * add Jay Bonci's Debian scripts and manpage
333        * release version 1.1.10
334
3352003-12-01 (Avva)
336        * New command: flush_all, causes all existing items to
337          be invalidated immediately (without deleting them from
338          memory, merely causing memcached to no longer return them).
3392003-10-23
340        * Shift init code around to fix daemon mode on FreeBSD,
341        * and drop root only after creating the server socket (to
342        * allow the use of privileged ports)
343        * version 1.1.10pre
344
3452003-10-09
346        * BSD compile fixes from Ryan T. Dean
347        * version 1.1.9
348       
3492003-09-29
350        * ignore SIGPIPE at start instead of crashing in rare cases it
351          comes up.  no other code had to be modified, since everything
352          else is already dead-connection-aware.  (avva)
353       
3542003-09-09 (Avva, Lisa Marie Seelye <lisa@gentoo.org>)
355        * setuid support
356       
3572003-09-05 (Avva)
358        * accept all new connections in the same event (so we work with ET epoll)
359        * mark all items as clsid=0 after slab page reassignment to please future
360          asserts (on the road to making slab page reassignment work fully)
361
3622003-08-12 (Brad Fitzpatrick)
363        * use TCP_CORK on Linux or TCP_PUSH on BSD
364        * only use TCP_NODELAY when we don't have alternatives
365       
3662003-08-10
367        * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva)
368
3692003-08-10
370        * support multiple levels of verbosity (-vv)
371
3722003-08-10  (Evan Martin)
373        * Makefile.am: debug, optimization, and static flags are controlled
374          by the configure script.
375        * configure.ac:
376          - allow specifying libevent directory with --with-libevent=DIR
377          - check for malloc.h (unavailable on BSDs)
378          - check for socklen_t (unavailable on OSX)
379        * assoc.c, items.c, slabs.c:  Remove some unused headers.
380        * memcached.c:  allow for nonexistence of malloc.h; #define a POSIX
381          macro to import mlockall flags.
382
3832003-07-29
384        * version 1.1.7
385        * big bug fix: item exptime 0 meant expire immediately, not never
386        * version 1.1.8
387
3882003-07-22
389        * make 'delete' take second arg, of time to refuse new add/replace
390        * set/add/replace/delete can all take abs or delta time (delta can't
391          be larger than a month)
392
3932003-07-21
394        * added doc/protocol.txt
395
3962003-07-01
397        * report CPU usage in stats
398         
3992003-06-30
400        * version 1.1.6
401        * fix a number of obscure bugs
402        * more stats reporting
403       
4042003-06-10
405        * removing use of Judy; use a hash.  (judy caused memory fragmentation)
406        * shrink some structures
407        * security improvements
408        * version 1.1.0
409       
4102003-06-18
411        * changing maxsize back to an unsigned int
412       
4132003-06-16
414        * adding PHP support
415        * added CONTRIBUTORS file
416        * version 1.0.4
417       
4182003-06-15
419        * forgot to distribute website/api (still learning auto*)
420        * version 1.0.3
421       
4222003-06-15
423        * update to version 1.0.2
424        * autoconf/automake fixes for older versions
425        * make stats report version number
426        * change license from GPL to BSD
427       
428Fri, 13 Jun 2003 10:05:51 -0700  Evan Martin  <martine@danga.com>
429
430        * configure.ac, autogen.sh, Makefile.am:  Use autotools.
431        * items.c, memcached.c:  #include <time.h> for time(),
432          printf time_t as %lu (is this correct?),
433          minor warnings fixes.
434
Note: See TracBrowser for help on using the browser.