root/trunk/server/ChangeLog @ 623

Revision 623, 14.3 kB (checked in by plindner, 2 years ago)

The memcached-tool script can now display stats. Patch
provided by Dan Christian <dchristian@…>

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