Brian Aker [Thu, 29 Jan 2009 21:15:58 +0000 (13:15 -0800)]
Cleanup for version 0.26
Trond Norbye [Tue, 27 Jan 2009 11:34:32 +0000 (12:34 +0100)]
Implemented support for noreply in the binary protocol
Please note that the quiet commands in the binary protocol was added
recently, so you need a recent build of the memcached 1.3.x server.
(at least http://github.com/dustin/memcached/commit/
0e8a58a8afbb8f15e42b001f2442858cfa3dcbb6 )
Robey Pointer [Fri, 23 Jan 2009 12:23:28 +0000 (13:23 +0100)]
Export generate_hash_value as memcache_generate_hash_value and fix key length check to use the constant.
Trond Norbye [Fri, 23 Jan 2009 10:43:14 +0000 (11:43 +0100)]
Source cleanup (remove compiler warnings ++)
Set warning == errors on Sun Studio compilers.
Added const to the "C++" API to remove compiler warnings.
Removed statements that couldn't be reached.
Trond Norbye [Fri, 23 Jan 2009 09:45:00 +0000 (10:45 +0100)]
Added Toru Maesaka to the AUTHORS file
Trond Norbye [Fri, 23 Jan 2009 09:41:32 +0000 (10:41 +0100)]
replace memcached_readline with memcached_io_readline
Moved the readline function into the io layer and use the buffer directly
instead of calling memcached_io_read for each byte
Trond Norbye [Fri, 23 Jan 2009 08:52:17 +0000 (09:52 +0100)]
Fix connect bug in memcached_flush_buffers and syntax bug in noreply
When I fixed the bug in memcached_flush_buffers I also improved the test
case for noreply (checking that the items got stored). This revealed
that I had a format bug in the noreply code for the textual protocol causing
protocol error instead of setting the items...
Toru Maesaka [Fri, 23 Jan 2009 08:02:41 +0000 (17:02 +0900)]
Added cluster analysis functionality to the library and memstat
Trond Norbye [Thu, 22 Jan 2009 16:27:34 +0000 (17:27 +0100)]
Remove compiler warnings from test suite
Trond Norbye [Thu, 22 Jan 2009 15:25:42 +0000 (16:25 +0100)]
Added prototype for memcached_flush_buffers
Trond Norbye [Thu, 22 Jan 2009 14:37:56 +0000 (15:37 +0100)]
Ignore tests/core and backup files from emacs (*~)
Robey Pointer [Thu, 22 Jan 2009 08:39:28 +0000 (09:39 +0100)]
Fix configure check for SO_RCVTIMEO on macs: they need an extra header.
Trond Norbye [Wed, 21 Jan 2009 10:03:42 +0000 (11:03 +0100)]
Added new command: memcached_flush_buffers
Toru Maesaka [Wed, 21 Jan 2009 06:46:05 +0000 (15:46 +0900)]
Delete useless code.
Steve Yen [Tue, 20 Jan 2009 20:59:52 +0000 (12:59 -0800)]
memcached_io_reset passed wrong struct
Steve Yen [Tue, 20 Jan 2009 20:40:25 +0000 (12:40 -0800)]
just a typo fix, getting comfy with hg
Trond Norbye [Tue, 20 Jan 2009 22:13:02 +0000 (23:13 +0100)]
Configure should detect and enable C99
Trond Norbye [Tue, 20 Jan 2009 11:34:40 +0000 (12:34 +0100)]
Implement memcached_behavior_noreply
Toru Maesaka [Mon, 19 Jan 2009 04:09:54 +0000 (13:09 +0900)]
Separated the server listing (print) code in memstat to it's own internal function. This is to avoid making main() messy by adding code for the node/pool analyzer work.
Toru Maesaka [Fri, 16 Jan 2009 10:05:07 +0000 (19:05 +0900)]
Print help with startup error to save people from re-executing with --help
Trond Norbye [Sat, 10 Jan 2009 18:11:17 +0000 (19:11 +0100)]
Deprecate MEMCACHED_NO_KEY_PROVIDED, and fixed key validation tests for the binary protocol
Brian Aker [Fri, 9 Jan 2009 21:00:18 +0000 (13:00 -0800)]
Merge.
Brian Aker [Fri, 9 Jan 2009 20:59:43 +0000 (12:59 -0800)]
Changed memcached_servers_parse() to take const
<hannu.valtonen@hut.fi> [Fri, 9 Jan 2009 09:21:54 +0000 (11:21 +0200)]
Change binary protocol behavior to disallow the use of key verification. (We disable key verification in case setting binary-protocol behavior, and disallow setting key verification behavior in case binary protocol is already in use. Motivation for this is to allow the use of arbitrary key content i.e. non-ascii
Trond Norbye [Wed, 7 Jan 2009 21:57:46 +0000 (22:57 +0100)]
Removed obsolete DTrace related macros
Trond Norbye [Wed, 7 Jan 2009 13:28:25 +0000 (14:28 +0100)]
Fixed the support for DTrace so that it also builds on Mac OSX
Brian Aker [Tue, 6 Jan 2009 22:40:14 +0000 (14:40 -0800)]
Fix for test case to not leak memory.
Brian Aker [Tue, 6 Jan 2009 22:08:49 +0000 (14:08 -0800)]
Merge
Brian Aker [Tue, 6 Jan 2009 22:08:04 +0000 (14:08 -0800)]
Import new purge work from trond
Trond Norbye [Tue, 6 Jan 2009 14:46:41 +0000 (15:46 +0100)]
Test for a working SO_SNDTIMEO and SO_RCVTIMEO during configure
Trond Norbye [Tue, 6 Jan 2009 13:27:05 +0000 (14:27 +0100)]
Run the async tests on the binary protocol as well
Trond Norbye [Tue, 6 Jan 2009 12:49:00 +0000 (13:49 +0100)]
Disable user_supplied_bug17 on Solaris
value_fetch use iscntrl while it is parsing the key, and this always fails
on my systems. I don't know the language of the text, but I have tried
running the test in zh_CN.UTF-8 and en_US.UTF-8 without success.
Brian Aker [Tue, 6 Jan 2009 00:15:07 +0000 (16:15 -0800)]
Fix test case for weighted servers.
Brian Aker [Mon, 5 Jan 2009 23:24:28 +0000 (15:24 -0800)]
Refactor to remove leak in new framework for clone() of server.
Brian Aker [Mon, 5 Jan 2009 21:51:48 +0000 (13:51 -0800)]
Refactor for host_reset, updated test. TODO in code can be safetly ignored
under current code (since no malloc is required).
Brian Aker [Mon, 5 Jan 2009 21:21:26 +0000 (13:21 -0800)]
Refactor out host_reset and add internal _with() to server creation.
<brian@gir.tangent.org> [Mon, 5 Jan 2009 18:02:01 +0000 (10:02 -0800)]
Bug fix for host_reset()
<brian@gir.tangent.org> [Sun, 4 Jan 2009 22:16:43 +0000 (14:16 -0800)]
Fix for decrement
Trond Norbye [Thu, 11 Dec 2008 18:25:12 +0000 (19:25 +0100)]
Disable SO_SNDTIMEO and SO_RCVTIMEO on Solaris
setsockopt(SO_SNDTIMEO/SO_RCVTIMEO) returns -1 with errno == 99 (not supported)
I have temporarily disabled the code with #ifdef __sun, but should update
the configure script to test for this and set the correct macros.
Trond Norbye [Mon, 15 Dec 2008 21:53:54 +0000 (22:53 +0100)]
memcached_io_reset should disconnect from the server without trying to send a quit command.
memcached_response should not call memcached_io_reset when it receives EXISTS
Thanks to Robey Pointer for providing a patch.
Trond Norbye [Wed, 10 Dec 2008 12:30:04 +0000 (13:30 +0100)]
Add --with-memcached to be able to specify the memcached binary to use for make test
Trond Norbye [Mon, 1 Dec 2008 17:30:01 +0000 (18:30 +0100)]
Sync protocol_binary.h with the memcached repository
Trond Norbye [Fri, 28 Nov 2008 23:04:30 +0000 (00:04 +0100)]
bootstrap should search for aclocal-1.10 and automake-1.10 as well
Brian Aker [Fri, 28 Nov 2008 18:08:23 +0000 (10:08 -0800)]
Added tag 0.25 for changeset
1ed3d51f323f
Brian Aker [Fri, 28 Nov 2008 18:08:14 +0000 (10:08 -0800)]
Fix for config to not be stored into filesystem.
Brian Aker [Fri, 28 Nov 2008 17:57:42 +0000 (09:57 -0800)]
Fix for bad disconnect during test run.
<brian@gir-3.local> [Fri, 28 Nov 2008 17:49:54 +0000 (09:49 -0800)]
Incomming fix from Chris
<brian@gir-3.local> [Fri, 21 Nov 2008 23:45:23 +0000 (15:45 -0800)]
Patch from evn
<brian@gir-3.local> [Mon, 17 Nov 2008 22:13:14 +0000 (17:13 -0500)]
Removing purge support for the time being.
Brian Aker [Sun, 16 Nov 2008 02:15:28 +0000 (18:15 -0800)]
Fix for most errors around non-block
Brian Aker [Sat, 15 Nov 2008 22:01:12 +0000 (14:01 -0800)]
Straighten up exection path
<brian@gir-3.local> [Sat, 15 Nov 2008 17:12:30 +0000 (12:12 -0500)]
Trying to remove dead branch
<brian@gir-3.local> [Sat, 15 Nov 2008 17:07:50 +0000 (12:07 -0500)]
Merge.
<brian@gir-3.local> [Sat, 15 Nov 2008 16:15:43 +0000 (11:15 -0500)]
Fix to make sure we do not copy an element on top of itself.
<brian@gir-3.local> [Sat, 15 Nov 2008 16:06:42 +0000 (11:06 -0500)]
Remove dead variable and on close check value of file descriptor.
Yin Chen [Wed, 5 Nov 2008 09:25:57 +0000 (17:25 +0800)]
fix io_read bug
<brian@ubuntu> [Tue, 4 Nov 2008 03:50:38 +0000 (19:50 -0800)]
Fix make dist.
<brian@gir-3.local> [Mon, 3 Nov 2008 22:20:00 +0000 (03:50 +0530)]
Adding missing file
<brian@gir-3.local> [Mon, 3 Nov 2008 22:15:47 +0000 (03:45 +0530)]
Incomming code for additions in keys (see Changelog)
<brian@gir-3.local> [Mon, 3 Nov 2008 21:51:23 +0000 (03:21 +0530)]
Merge fixed from trond
Trond Norbye [Thu, 23 Oct 2008 16:34:26 +0000 (18:34 +0200)]
Search for pod2man during configure
Trond Norbye [Wed, 22 Oct 2008 20:08:15 +0000 (22:08 +0200)]
Purge the input buffer if I discover a lot of commands being sent and none read (to avoid deadlock)
<brian@gir.tangent.org> [Thu, 16 Oct 2008 19:19:16 +0000 (12:19 -0700)]
Solaris Forte issue fix (inttype over stdint)
Brian Aker [Wed, 15 Oct 2008 05:24:24 +0000 (22:24 -0700)]
Saving fix for busy wait
Brian Aker [Wed, 15 Oct 2008 04:17:18 +0000 (21:17 -0700)]
Patch for memslap by Furuhashi Sadayuk
Brian Aker [Wed, 15 Oct 2008 03:42:18 +0000 (20:42 -0700)]
Incoming update to Murmur
Trond Norbye [Wed, 1 Oct 2008 08:58:13 +0000 (10:58 +0200)]
libmemcached_config.h should not be installed
Trond Norbye [Tue, 30 Sep 2008 07:51:11 +0000 (09:51 +0200)]
Hostname (and filename) should be const in memcached_server_add*
<brian@gir-3.local> [Mon, 22 Sep 2008 23:36:21 +0000 (02:36 +0300)]
Adding missing file.
<brian@gir-3.local> [Mon, 22 Sep 2008 23:16:51 +0000 (02:16 +0300)]
Merging in Brian Pontz work on Jenkins hash
Brian Aker [Tue, 16 Sep 2008 09:59:20 +0000 (02:59 -0700)]
Wrapping up fixed for .24 release
<brian@gir-3.local> [Tue, 9 Sep 2008 00:10:38 +0000 (17:10 -0700)]
Refactored call, removed abort() call (we should never cause the parent
program to die).
<brian@gir-3.local> [Tue, 9 Sep 2008 00:02:06 +0000 (17:02 -0700)]
Moved response code to use a switch/case (instead if giant if/else)
<brian@gir-3.local> [Mon, 8 Sep 2008 23:38:09 +0000 (16:38 -0700)]
Cleanup values for future use of memcached_server_free()
<brian@gir-3.local> [Mon, 8 Sep 2008 23:30:35 +0000 (16:30 -0700)]
Style cleanup
<brian@gir-3.local> [Mon, 8 Sep 2008 23:19:01 +0000 (16:19 -0700)]
Updated for the creation of memcached_server_by_key().
<brian@gir-3.local> [Mon, 8 Sep 2008 21:04:33 +0000 (14:04 -0700)]
Fix dangling endif
<brian@gir-3.local> [Mon, 8 Sep 2008 20:08:02 +0000 (13:08 -0700)]
More warning cleanup.
<brian@gir-3.local> [Mon, 8 Sep 2008 19:12:09 +0000 (12:12 -0700)]
Cleanup warnings/found issue in store by key functions.
Brian Aker [Sun, 7 Sep 2008 15:18:58 +0000 (08:18 -0700)]
Added tag .23 for changeset
86b581b9fdb8
Brian Aker [Sun, 7 Sep 2008 15:18:45 +0000 (08:18 -0700)]
Forgot to update version number.
Brian Aker [Sun, 7 Sep 2008 15:14:30 +0000 (08:14 -0700)]
Update for release
Brian Aker [Sun, 7 Sep 2008 15:14:21 +0000 (08:14 -0700)]
Added tag .23 for changeset
58900f15f36b
Brian Aker [Sun, 7 Sep 2008 15:12:29 +0000 (08:12 -0700)]
Merge
Brian Aker [Sun, 7 Sep 2008 15:11:47 +0000 (08:11 -0700)]
Fix for new RPM build machine.
Yin Chen [Fri, 29 Aug 2008 06:37:15 +0000 (14:37 +0800)]
fix a configure.ac typo(03 for O3)
Yin Chen [Fri, 29 Aug 2008 06:33:04 +0000 (14:33 +0800)]
fix the incr/decr operation connection closed bug
Yin Chen [Mon, 25 Aug 2008 05:02:57 +0000 (13:02 +0800)]
add a memcached_result_string_st(A) interface to support the cas related API wrapper
Yin Chen [Wed, 20 Aug 2008 09:05:16 +0000 (17:05 +0800)]
fix a bug in update_continuum
It will casue the valgrind to report "Conditional jump or move depends on uninitialised value(s)"
Trond Norbye [Tue, 19 Aug 2008 21:17:11 +0000 (23:17 +0200)]
Clean up the compiler flag section
Trond Norbye [Tue, 19 Aug 2008 21:13:23 +0000 (23:13 +0200)]
Fix compiler warning
Cast the pointer to the uint64_t where the result should be stored to a char
pointer (memcached_response expects char pointer).
Trond Norbye [Tue, 19 Aug 2008 21:13:08 +0000 (23:13 +0200)]
Added my name to the AUTHORS file
Brian Aker [Tue, 19 Aug 2008 18:07:14 +0000 (11:07 -0700)]
Fixed udp warnings.
Brian Aker [Tue, 19 Aug 2008 18:00:13 +0000 (11:00 -0700)]
Few more cleanups.
Brian Aker [Tue, 19 Aug 2008 17:58:25 +0000 (10:58 -0700)]
Turned up warnings in code
Brian Aker [Tue, 19 Aug 2008 17:22:31 +0000 (10:22 -0700)]
Fixed memory leaks in test program.
Yin Chen [Tue, 12 Aug 2008 09:16:50 +0000 (17:16 +0800)]
fix a logic error on memcached_server_remove which will cause double free problem
<brian@localhost.localdomain> [Sat, 2 Aug 2008 23:03:22 +0000 (16:03 -0700)]
Small cleanups
Yin Chen [Thu, 7 Aug 2008 08:43:15 +0000 (16:43 +0800)]
Fix some flaw and bugs in server failure rehash
Yin Chen [Thu, 7 Aug 2008 04:00:43 +0000 (12:00 +0800)]
Add the LDFLAGS for -lm(floorf)