Brian Aker [Fri, 2 Apr 2010 14:04:42 +0000 (07:04 -0700)]
Fixes for Innodb engine.
Brian Aker [Fri, 2 Apr 2010 05:58:48 +0000 (22:58 -0700)]
Remove dead call.
Brian Aker [Fri, 2 Apr 2010 05:40:32 +0000 (22:40 -0700)]
Updated vector bits.
Brian Aker [Fri, 2 Apr 2010 04:17:58 +0000 (21:17 -0700)]
Moved to using vector send for writes (lowers function call count).
Brian Aker [Fri, 2 Apr 2010 04:10:35 +0000 (21:10 -0700)]
Updating for vector interface.
Brian Aker [Fri, 2 Apr 2010 02:31:28 +0000 (19:31 -0700)]
Just clean up a call (use the previous method).
Brian Aker [Thu, 1 Apr 2010 21:30:52 +0000 (14:30 -0700)]
Merge in support for prefix keys in the binary protoocol.
Brian Aker [Thu, 1 Apr 2010 19:16:09 +0000 (12:16 -0700)]
Updating interface version.
Brian Aker [Thu, 1 Apr 2010 18:06:13 +0000 (11:06 -0700)]
Remove bitfield hack (solaris blows anyways).
Brian Aker [Thu, 18 Mar 2010 22:40:55 +0000 (15:40 -0700)]
Style cleanup
Brian Aker [Thu, 18 Mar 2010 22:28:09 +0000 (15:28 -0700)]
We didn't catch client_Error.
Brian Aker [Wed, 10 Mar 2010 05:56:12 +0000 (21:56 -0800)]
Merging memcapable
Brian Aker [Wed, 10 Mar 2010 00:45:36 +0000 (16:45 -0800)]
A couple of valgrind warnings fixes.
Brian Aker [Tue, 9 Mar 2010 19:33:28 +0000 (11:33 -0800)]
More fixes from Trond.
Trond Norbye [Mon, 8 Mar 2010 21:19:08 +0000 (22:19 +0100)]
Improve memcapability test suite
* Remove test of illegal commands in memcapable
Users should be able to extend the binary protocol with their own commands,
and as long as they don't change the semantics on the defined commands the
server is memcapable even if it supports additional commands.
* Allow memcached servers to cork quiet get commands
Trond Norbye [Mon, 8 Mar 2010 18:31:33 +0000 (19:31 +0100)]
Fix build for non-sasl-enabled builds
Andre Cruz [Mon, 8 Mar 2010 17:23:29 +0000 (17:23 +0000)]
Added missing constant.
Set keepalive before keepidle.
Andre Cruz [Mon, 8 Mar 2010 15:39:15 +0000 (15:39 +0000)]
Implemented the TCP_KEEPIDLE tcp option. This is only available on Linux.
Andre Cruz [Mon, 8 Mar 2010 14:37:03 +0000 (14:37 +0000)]
Implement flag retrieval for new keepalive flag.
Andre Cruz [Mon, 8 Mar 2010 14:30:21 +0000 (14:30 +0000)]
Added option to enable TCP_KEEPALIVE on created sockets.
Brian Aker [Fri, 5 Mar 2010 08:35:42 +0000 (00:35 -0800)]
Merge
André Cruz [Wed, 3 Mar 2010 12:01:54 +0000 (12:01 +0000)]
If a server is down, repeated stores would increment the fail count even though the server is marked by memcached_connect. This caused the next_retry to be incremented when the fail count was reached even though no new attempt was made to connect to the server... The connection to this server would never be recovered if the fail limit was reached before the next_retry.
This problem may exist elsewhere with mgets and deletes.
Trond Norbye [Wed, 3 Mar 2010 10:50:13 +0000 (11:50 +0100)]
Add support for SASL
Brian Aker [Tue, 2 Mar 2010 22:16:10 +0000 (14:16 -0800)]
Correction to API for custom hash settings.
Trond Norbye [Sun, 21 Feb 2010 10:59:22 +0000 (11:59 +0100)]
fixed spelling in of testudp in .bzrignore
Brian Aker [Sat, 20 Feb 2010 01:06:00 +0000 (17:06 -0800)]
merge.
Ingy dot Net [Sat, 20 Feb 2010 00:28:40 +0000 (16:28 -0800)]
Corrected autogen.sh to autorun.sh
Brian Aker [Thu, 18 Feb 2010 22:53:58 +0000 (14:53 -0800)]
Merge for Dmitry
Brian Aker [Thu, 18 Feb 2010 21:18:16 +0000 (13:18 -0800)]
Fixing spec file for release.
Brian Aker [Thu, 18 Feb 2010 06:22:15 +0000 (22:22 -0800)]
Shuffled UDP tests.
Brian Aker [Wed, 17 Feb 2010 01:58:35 +0000 (17:58 -0800)]
A number of fixes/etc.
Dmitry Isaykin [Mon, 15 Feb 2010 20:45:37 +0000 (23:45 +0300)]
Remove dummy check in *flags assignment in memcached_fetch
Brian Aker [Sun, 14 Feb 2010 02:37:23 +0000 (18:37 -0800)]
File shuffling
Brian Aker [Sun, 14 Feb 2010 01:04:45 +0000 (17:04 -0800)]
Updating memcached_server_instance_st structure.
Brian Aker [Sun, 14 Feb 2010 00:05:19 +0000 (16:05 -0800)]
Merge in additional type fixes.
Brian Aker [Sat, 13 Feb 2010 02:23:49 +0000 (18:23 -0800)]
Lots of compiler fixes.
Brian Aker [Fri, 12 Feb 2010 19:23:18 +0000 (11:23 -0800)]
Modifying inline's
Brian Aker [Wed, 10 Feb 2010 18:02:39 +0000 (10:02 -0800)]
Fix for non-Linux platforms.
Brian Aker [Wed, 10 Feb 2010 17:55:26 +0000 (09:55 -0800)]
RPM update.
Brian Aker [Wed, 10 Feb 2010 17:41:33 +0000 (09:41 -0800)]
Updating version information.
Brian Aker [Wed, 10 Feb 2010 17:00:45 +0000 (09:00 -0800)]
bug fix for recursive decent into quit()
Brian Aker [Wed, 10 Feb 2010 01:18:52 +0000 (17:18 -0800)]
Fix for platform poll() return values.
Brian Aker [Tue, 9 Feb 2010 22:32:39 +0000 (14:32 -0800)]
Indention fix.
Brian Aker [Tue, 9 Feb 2010 20:44:21 +0000 (12:44 -0800)]
Fixing bogus assert in debug build.
Brian Aker [Tue, 9 Feb 2010 18:52:56 +0000 (10:52 -0800)]
Cleanup on uint8 to bool for quit.
Brian Aker [Tue, 9 Feb 2010 18:30:12 +0000 (10:30 -0800)]
Patches from Piotr Sikora < piotr.sikora@frickle.com > for OpenBSD.
Brian Aker [Tue, 9 Feb 2010 18:20:33 +0000 (10:20 -0800)]
Minor code code cleanup, plus modification to while() loop around poll in
order to catch events/replay them.
Brian Aker [Sat, 6 Feb 2010 00:40:16 +0000 (16:40 -0800)]
The patch which says "Solaris is..."
Trond Norbye [Fri, 5 Feb 2010 19:06:14 +0000 (20:06 +0100)]
Use bool instead of bool:1 if your compiler doesn't create correct code
Trond Norbye [Fri, 5 Feb 2010 18:52:50 +0000 (19:52 +0100)]
Ignore reclaimed stat
Trond Norbye [Fri, 5 Feb 2010 13:39:03 +0000 (14:39 +0100)]
Set C linkage for the function pointers
Brian Aker [Fri, 5 Feb 2010 01:18:57 +0000 (17:18 -0800)]
Possible fix for solaris compiler.
Brian Aker [Fri, 5 Feb 2010 01:15:17 +0000 (17:15 -0800)]
Small cleanup.
Brian Aker [Thu, 28 Jan 2010 19:06:36 +0000 (11:06 -0800)]
Merge Trond.
Trond Norbye [Wed, 27 Jan 2010 17:04:43 +0000 (09:04 -0800)]
Fixed the ascii protocol handler
* Return error message for all commands that doesn't support noreply
* get returned flags as the length instead of the actual length
Trond Norbye [Wed, 27 Jan 2010 16:50:41 +0000 (08:50 -0800)]
A memcached server is memcapable even if it returns a better error message than "ERROR"
Brian Aker [Fri, 22 Jan 2010 22:41:53 +0000 (14:41 -0800)]
Adding test, showing off how to add a custom function to libmemcached.
Brian Aker [Fri, 22 Jan 2010 19:04:16 +0000 (11:04 -0800)]
Modified Hashkit class (turned it into an actual class).
Brian Aker [Fri, 22 Jan 2010 01:16:04 +0000 (17:16 -0800)]
More Cleanup
Brian Aker [Fri, 22 Jan 2010 00:15:24 +0000 (16:15 -0800)]
Bool fix.
Brian Aker [Thu, 21 Jan 2010 23:56:45 +0000 (15:56 -0800)]
Fix IO call to use bool.
Brian Aker [Thu, 21 Jan 2010 23:45:12 +0000 (15:45 -0800)]
Style cleanup.
Brian Aker [Thu, 21 Jan 2010 22:30:33 +0000 (14:30 -0800)]
Solaris fixes.
Brian Aker [Thu, 21 Jan 2010 19:30:29 +0000 (11:30 -0800)]
Fix for Debian linking issues.
Brian Aker [Thu, 21 Jan 2010 02:51:52 +0000 (18:51 -0800)]
Cleanup dead files in libmemcached.
Brian Aker [Thu, 21 Jan 2010 02:17:01 +0000 (18:17 -0800)]
Updates for RPM spec file.
Brian Aker [Thu, 21 Jan 2010 02:06:18 +0000 (18:06 -0800)]
C++ interface bits for libhashkit
Brian Aker [Wed, 20 Jan 2010 17:20:32 +0000 (09:20 -0800)]
32bit fix.
Brian Aker [Wed, 20 Jan 2010 02:28:44 +0000 (18:28 -0800)]
Add in missing file.
Brian Aker [Wed, 20 Jan 2010 02:26:22 +0000 (18:26 -0800)]
Fix for OSX, where cork is slow....
Brian Aker [Wed, 20 Jan 2010 02:22:17 +0000 (18:22 -0800)]
Updating tree for new function work in libhashkit.
Brian Aker [Wed, 20 Jan 2010 01:09:50 +0000 (17:09 -0800)]
Updates for libmemached to use libhashkit
Brian Aker [Tue, 19 Jan 2010 23:39:13 +0000 (15:39 -0800)]
Added full support for custom hash functions.
Brian Aker [Tue, 19 Jan 2010 23:18:01 +0000 (15:18 -0800)]
Updated for custom hash functions/setting functions.
Brian Aker [Tue, 19 Jan 2010 22:37:09 +0000 (14:37 -0800)]
Updates to libhashkit.
Brian Aker [Tue, 19 Jan 2010 20:54:09 +0000 (12:54 -0800)]
Small cleanup for loop.
Brian Aker [Tue, 19 Jan 2010 19:10:54 +0000 (11:10 -0800)]
Compiles.
Brian Aker [Tue, 19 Jan 2010 04:59:05 +0000 (20:59 -0800)]
Merge memslap
Brian Aker [Tue, 19 Jan 2010 04:58:14 +0000 (20:58 -0800)]
Merge Lee
Xiaoyun Mao [Tue, 19 Jan 2010 03:38:53 +0000 (19:38 -0800)]
1.Fix bug that memslap can't start up(ms_thread=NULL). 2.ignore signal SIGPIPE. 3.support reconnection with thousands of connections. 4.enhance binary protocol to support UDP. 5.synchronize all the threads at the beginning. 6.merge with latest trunk.
Brian Aker [Tue, 19 Jan 2010 01:11:41 +0000 (17:11 -0800)]
Solaris fix
Brian Aker [Tue, 19 Jan 2010 00:55:33 +0000 (16:55 -0800)]
Fix inline methods for strings.
Brian Aker [Tue, 19 Jan 2010 00:39:46 +0000 (16:39 -0800)]
We now check return key size for memcached_fetch() to make sure it is not
too big (compared to original ascii server). result_st is now initialized
differently. This should make it a bit faster.
Brian Aker [Mon, 18 Jan 2010 23:29:11 +0000 (15:29 -0800)]
Fix for issue where stats may not be initialized.
Brian Aker [Mon, 18 Jan 2010 22:58:20 +0000 (14:58 -0800)]
New allocator interface.
Brian Aker [Mon, 18 Jan 2010 19:42:24 +0000 (11:42 -0800)]
Small style cleanup.
Brian Aker [Mon, 18 Jan 2010 19:22:44 +0000 (11:22 -0800)]
Fix conversion from macro to inline.
Brian Aker [Sat, 16 Jan 2010 22:52:23 +0000 (14:52 -0800)]
Remove mass calloc() on memcached_st creation.
Brian Aker [Sat, 16 Jan 2010 02:47:17 +0000 (18:47 -0800)]
First pass for performance improvement on _clone() operations.
Brian Aker [Sat, 16 Jan 2010 01:50:37 +0000 (17:50 -0800)]
Partial patch on pass through to fix issues with trigger writers not
following docs on use of memcached_St
Brian Aker [Sat, 16 Jan 2010 00:59:13 +0000 (16:59 -0800)]
File Refactoring
Brian Aker [Sat, 16 Jan 2010 00:02:25 +0000 (16:02 -0800)]
Remove test-plus from defaults.
Brian Aker [Sat, 16 Jan 2010 00:00:43 +0000 (16:00 -0800)]
Small cleanup in string.h and converted result_st macro to inline.
Lee Bieber [Fri, 15 Jan 2010 21:59:06 +0000 (13:59 -0800)]
add lcov and lcov-clean target
Brian Aker [Fri, 15 Jan 2010 21:49:15 +0000 (13:49 -0800)]
Added micro-benchmark bits.
Brian Aker [Fri, 15 Jan 2010 21:26:02 +0000 (13:26 -0800)]
Refactor test framework to run pre/post just once.
Brian Aker [Fri, 15 Jan 2010 19:58:43 +0000 (11:58 -0800)]
Encapsulated a couple of options/moved flags around a bit.
Brian Aker [Fri, 15 Jan 2010 19:45:53 +0000 (11:45 -0800)]
Updated test_truth to be test_true to match the shades, I mean test_false()
Brian Aker [Fri, 15 Jan 2010 19:25:46 +0000 (11:25 -0800)]
Updates for CORK.
Brian Aker [Fri, 15 Jan 2010 00:35:02 +0000 (16:35 -0800)]
Merge Thomason's cork patch.