root/trunk/server/ChangeLog @ 619

Revision 619, 14.2 kB (checked in by plindner, 2 years ago)

Switch to unsigned 64-bit increment/decrement counters from Evan Miller and Dusgtin Sallings.

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