awesomized/libmemcached
14 years agoUse libevent for the eventloop in memcached_light
Trond Norbye [Wed, 14 Apr 2010 22:32:40 +0000 (15:32 -0700)] 
Use libevent for the eventloop in memcached_light

14 years agoUpdating for version 0.39
Brian Aker [Tue, 6 Apr 2010 19:35:28 +0000 (12:35 -0700)] 
Updating for version 0.39

14 years agoFix issue with memcached_st structure being a different size based on
Brian Aker [Tue, 6 Apr 2010 19:33:06 +0000 (12:33 -0700)] 
Fix issue with memcached_st structure being a different size based on
compile.

14 years agoUpdate documentation.
Brian Aker [Tue, 6 Apr 2010 17:58:54 +0000 (10:58 -0700)] 
Update documentation.

14 years agoImprove on algo for disabling bad hosts.
Brian Aker [Tue, 6 Apr 2010 17:22:35 +0000 (10:22 -0700)] 
Improve on algo for disabling bad hosts.

14 years agoUpdate for last disconnect to stick around even if ejected.
Brian Aker [Mon, 5 Apr 2010 22:27:54 +0000 (15:27 -0700)] 
Update for last disconnect to stick around even if ejected.

14 years agoMerge Andre
Brian Aker [Mon, 5 Apr 2010 19:01:19 +0000 (12:01 -0700)] 
Merge Andre

14 years ago@$#$@$ gcc
Brian Aker [Mon, 5 Apr 2010 17:06:25 +0000 (10:06 -0700)] 
@$#$@$ gcc

14 years agoFix for rpm buidling/make --with-debug
Brian Aker [Mon, 5 Apr 2010 16:41:24 +0000 (09:41 -0700)] 
Fix for rpm buidling/make --with-debug

14 years agoConcurrent memcached_verbosity().
Brian Aker [Sun, 4 Apr 2010 21:53:03 +0000 (14:53 -0700)] 
Concurrent memcached_verbosity().

14 years agoMake use of new vdo().
Brian Aker [Fri, 2 Apr 2010 19:55:21 +0000 (12:55 -0700)] 
Make use of new vdo().

14 years agoFixed the rest of the inline functions in .c files.
Monty Taylor [Fri, 2 Apr 2010 18:03:08 +0000 (11:03 -0700)] 
Fixed the rest of the inline functions in .c files.

14 years agoFixes build on FreeBSD.
Monty Taylor [Fri, 2 Apr 2010 17:51:10 +0000 (10:51 -0700)] 
Fixes build on FreeBSD.
Non-static inline functions are not supported in C99. (which is what the error message should say)
BUT - this function isn't in a header file, so being marked inline here is pointless (guessing copy-n-paste error)

14 years agoFixes for Innodb engine.
Brian Aker [Fri, 2 Apr 2010 14:04:42 +0000 (07:04 -0700)] 
Fixes for Innodb engine.

14 years agoRemove dead call.
Brian Aker [Fri, 2 Apr 2010 05:58:48 +0000 (22:58 -0700)] 
Remove dead call.

14 years agoUpdated vector bits.
Brian Aker [Fri, 2 Apr 2010 05:40:32 +0000 (22:40 -0700)] 
Updated vector bits.

14 years agoMoved to using vector send for writes (lowers function call count).
Brian Aker [Fri, 2 Apr 2010 04:17:58 +0000 (21:17 -0700)] 
Moved to using vector send for writes (lowers function call count).

14 years agoUpdating for vector interface.
Brian Aker [Fri, 2 Apr 2010 04:10:35 +0000 (21:10 -0700)] 
Updating for vector interface.

14 years agoJust clean up a call (use the previous method).
Brian Aker [Fri, 2 Apr 2010 02:31:28 +0000 (19:31 -0700)] 
Just clean up a call (use the previous method).

14 years agoMerge in support for prefix keys in the binary protoocol.
Brian Aker [Thu, 1 Apr 2010 21:30:52 +0000 (14:30 -0700)] 
Merge in support for prefix keys in the binary protoocol.

14 years agoUpdating interface version.
Brian Aker [Thu, 1 Apr 2010 19:16:09 +0000 (12:16 -0700)] 
Updating interface version.

14 years agoRemove bitfield hack (solaris blows anyways).
Brian Aker [Thu, 1 Apr 2010 18:06:13 +0000 (11:06 -0700)] 
Remove bitfield hack (solaris blows anyways).

14 years agoStyle cleanup
Brian Aker [Thu, 18 Mar 2010 22:40:55 +0000 (15:40 -0700)] 
Style cleanup

14 years agoWe didn't catch client_Error.
Brian Aker [Thu, 18 Mar 2010 22:28:09 +0000 (15:28 -0700)] 
We didn't catch client_Error.

14 years agoMerging memcapable
Brian Aker [Wed, 10 Mar 2010 05:56:12 +0000 (21:56 -0800)] 
Merging memcapable

14 years agoA couple of valgrind warnings fixes.
Brian Aker [Wed, 10 Mar 2010 00:45:36 +0000 (16:45 -0800)] 
A couple of valgrind warnings fixes.

14 years agoMore fixes from Trond.
Brian Aker [Tue, 9 Mar 2010 19:33:28 +0000 (11:33 -0800)] 
More fixes from Trond.

14 years agoImprove memcapability test suite
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

14 years agoFix build for non-sasl-enabled builds
Trond Norbye [Mon, 8 Mar 2010 18:31:33 +0000 (19:31 +0100)] 
Fix build for non-sasl-enabled builds

14 years agoAdded missing constant.
Andre Cruz [Mon, 8 Mar 2010 17:23:29 +0000 (17:23 +0000)] 
Added missing constant.
Set keepalive before keepidle.

14 years agoImplemented the TCP_KEEPIDLE tcp option. This is only available on Linux.
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.

14 years agoImplement flag retrieval for new keepalive flag.
Andre Cruz [Mon, 8 Mar 2010 14:37:03 +0000 (14:37 +0000)] 
Implement flag retrieval for new keepalive flag.

14 years agoAdded option to enable TCP_KEEPALIVE on created sockets.
Andre Cruz [Mon, 8 Mar 2010 14:30:21 +0000 (14:30 +0000)] 
Added option to enable TCP_KEEPALIVE on created sockets.

14 years agoMerge
Brian Aker [Fri, 5 Mar 2010 08:35:42 +0000 (00:35 -0800)] 
Merge

14 years agoIf a server is down, repeated stores would increment the fail count even though the...
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.

14 years agoAdd support for SASL
Trond Norbye [Wed, 3 Mar 2010 10:50:13 +0000 (11:50 +0100)] 
Add support for SASL

14 years agoCorrection to API for custom hash settings.
Brian Aker [Tue, 2 Mar 2010 22:16:10 +0000 (14:16 -0800)] 
Correction to API for custom hash settings.

14 years agofixed spelling in of testudp in .bzrignore
Trond Norbye [Sun, 21 Feb 2010 10:59:22 +0000 (11:59 +0100)] 
fixed spelling in of testudp in .bzrignore

14 years agomerge.
Brian Aker [Sat, 20 Feb 2010 01:06:00 +0000 (17:06 -0800)] 
merge.

14 years agoCorrected autogen.sh to autorun.sh
Ingy dot Net [Sat, 20 Feb 2010 00:28:40 +0000 (16:28 -0800)] 
Corrected autogen.sh to autorun.sh

14 years agoMerge for Dmitry
Brian Aker [Thu, 18 Feb 2010 22:53:58 +0000 (14:53 -0800)] 
Merge for Dmitry

14 years agoFixing spec file for release.
Brian Aker [Thu, 18 Feb 2010 21:18:16 +0000 (13:18 -0800)] 
Fixing spec file for release.

14 years agoShuffled UDP tests.
Brian Aker [Thu, 18 Feb 2010 06:22:15 +0000 (22:22 -0800)] 
Shuffled UDP tests.

14 years agoA number of fixes/etc.
Brian Aker [Wed, 17 Feb 2010 01:58:35 +0000 (17:58 -0800)] 
A number of fixes/etc.

14 years agoRemove dummy check in *flags assignment in memcached_fetch
Dmitry Isaykin [Mon, 15 Feb 2010 20:45:37 +0000 (23:45 +0300)] 
Remove dummy check in *flags assignment in memcached_fetch

14 years agoFile shuffling
Brian Aker [Sun, 14 Feb 2010 02:37:23 +0000 (18:37 -0800)] 
File shuffling

14 years agoUpdating memcached_server_instance_st structure.
Brian Aker [Sun, 14 Feb 2010 01:04:45 +0000 (17:04 -0800)] 
Updating memcached_server_instance_st structure.

14 years agoMerge in additional type fixes.
Brian Aker [Sun, 14 Feb 2010 00:05:19 +0000 (16:05 -0800)] 
Merge in additional type fixes.

14 years agoLots of compiler fixes.
Brian Aker [Sat, 13 Feb 2010 02:23:49 +0000 (18:23 -0800)] 
Lots of compiler fixes.

14 years agoModifying inline's
Brian Aker [Fri, 12 Feb 2010 19:23:18 +0000 (11:23 -0800)] 
Modifying inline's

14 years agoFix for non-Linux platforms.
Brian Aker [Wed, 10 Feb 2010 18:02:39 +0000 (10:02 -0800)] 
Fix for non-Linux platforms.

14 years agoRPM update.
Brian Aker [Wed, 10 Feb 2010 17:55:26 +0000 (09:55 -0800)] 
RPM update.

14 years agoUpdating version information.
Brian Aker [Wed, 10 Feb 2010 17:41:33 +0000 (09:41 -0800)] 
Updating version information.

14 years agobug fix for recursive decent into quit()
Brian Aker [Wed, 10 Feb 2010 17:00:45 +0000 (09:00 -0800)] 
bug fix for recursive decent into quit()

14 years agoFix for platform poll() return values.
Brian Aker [Wed, 10 Feb 2010 01:18:52 +0000 (17:18 -0800)] 
Fix for platform poll() return values.

14 years agoIndention fix.
Brian Aker [Tue, 9 Feb 2010 22:32:39 +0000 (14:32 -0800)] 
Indention fix.

14 years agoFixing bogus assert in debug build.
Brian Aker [Tue, 9 Feb 2010 20:44:21 +0000 (12:44 -0800)] 
Fixing bogus assert in debug build.

14 years agoCleanup on uint8 to bool for quit.
Brian Aker [Tue, 9 Feb 2010 18:52:56 +0000 (10:52 -0800)] 
Cleanup on uint8 to bool for quit.

14 years agoPatches from Piotr Sikora < piotr.sikora@frickle.com > for OpenBSD.
Brian Aker [Tue, 9 Feb 2010 18:30:12 +0000 (10:30 -0800)] 
Patches from Piotr Sikora < piotr.sikora@frickle.com > for OpenBSD.

14 years agoMinor code code cleanup, plus modification to while() loop around poll in
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.

14 years agoThe patch which says "Solaris is..."
Brian Aker [Sat, 6 Feb 2010 00:40:16 +0000 (16:40 -0800)] 
The patch which says "Solaris is..."

14 years agoUse bool instead of bool:1 if your compiler doesn't create correct code
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

14 years agoIgnore reclaimed stat
Trond Norbye [Fri, 5 Feb 2010 18:52:50 +0000 (19:52 +0100)] 
Ignore reclaimed stat

14 years agoSet C linkage for the function pointers
Trond Norbye [Fri, 5 Feb 2010 13:39:03 +0000 (14:39 +0100)] 
Set C linkage for the function pointers

14 years agoPossible fix for solaris compiler.
Brian Aker [Fri, 5 Feb 2010 01:18:57 +0000 (17:18 -0800)] 
Possible fix for solaris compiler.

14 years agoSmall cleanup.
Brian Aker [Fri, 5 Feb 2010 01:15:17 +0000 (17:15 -0800)] 
Small cleanup.

14 years agoMerge Trond.
Brian Aker [Thu, 28 Jan 2010 19:06:36 +0000 (11:06 -0800)] 
Merge Trond.

14 years agoFixed the ascii protocol handler
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

14 years agoA memcached server is memcapable even if it returns a better error message than ...
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"

14 years agoAdding test, showing off how to add a custom function to libmemcached.
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.

14 years agoModified Hashkit class (turned it into an actual class).
Brian Aker [Fri, 22 Jan 2010 19:04:16 +0000 (11:04 -0800)] 
Modified Hashkit class (turned it into an actual class).

14 years agoMore Cleanup
Brian Aker [Fri, 22 Jan 2010 01:16:04 +0000 (17:16 -0800)] 
More Cleanup

14 years agoBool fix.
Brian Aker [Fri, 22 Jan 2010 00:15:24 +0000 (16:15 -0800)] 
Bool fix.

14 years agoFix IO call to use bool.
Brian Aker [Thu, 21 Jan 2010 23:56:45 +0000 (15:56 -0800)] 
Fix IO call to use bool.

14 years agoStyle cleanup.
Brian Aker [Thu, 21 Jan 2010 23:45:12 +0000 (15:45 -0800)] 
Style cleanup.

14 years agoSolaris fixes.
Brian Aker [Thu, 21 Jan 2010 22:30:33 +0000 (14:30 -0800)] 
Solaris fixes.

14 years agoFix for Debian linking issues.
Brian Aker [Thu, 21 Jan 2010 19:30:29 +0000 (11:30 -0800)] 
Fix for Debian linking issues.

14 years agoCleanup dead files in libmemcached.
Brian Aker [Thu, 21 Jan 2010 02:51:52 +0000 (18:51 -0800)] 
Cleanup dead files in libmemcached.

14 years agoUpdates for RPM spec file.
Brian Aker [Thu, 21 Jan 2010 02:17:01 +0000 (18:17 -0800)] 
Updates for RPM spec file.

14 years agoC++ interface bits for libhashkit
Brian Aker [Thu, 21 Jan 2010 02:06:18 +0000 (18:06 -0800)] 
C++ interface bits for libhashkit

14 years ago32bit fix.
Brian Aker [Wed, 20 Jan 2010 17:20:32 +0000 (09:20 -0800)] 
32bit fix.

14 years agoAdd in missing file.
Brian Aker [Wed, 20 Jan 2010 02:28:44 +0000 (18:28 -0800)] 
Add in missing file.

14 years agoFix for OSX, where cork is slow....
Brian Aker [Wed, 20 Jan 2010 02:26:22 +0000 (18:26 -0800)] 
Fix for OSX, where cork is slow....

14 years agoUpdating tree for new function work in libhashkit.
Brian Aker [Wed, 20 Jan 2010 02:22:17 +0000 (18:22 -0800)] 
Updating tree for new function work in libhashkit.

14 years agoUpdates for libmemached to use libhashkit
Brian Aker [Wed, 20 Jan 2010 01:09:50 +0000 (17:09 -0800)] 
Updates for libmemached to use libhashkit

14 years agoAdded full support for custom hash functions.
Brian Aker [Tue, 19 Jan 2010 23:39:13 +0000 (15:39 -0800)] 
Added full support for custom hash functions.

14 years agoUpdated for custom hash functions/setting functions.
Brian Aker [Tue, 19 Jan 2010 23:18:01 +0000 (15:18 -0800)] 
Updated for custom hash functions/setting functions.

14 years agoUpdates to libhashkit.
Brian Aker [Tue, 19 Jan 2010 22:37:09 +0000 (14:37 -0800)] 
Updates to libhashkit.

14 years agoSmall cleanup for loop.
Brian Aker [Tue, 19 Jan 2010 20:54:09 +0000 (12:54 -0800)] 
Small cleanup for loop.

14 years agoCompiles.
Brian Aker [Tue, 19 Jan 2010 19:10:54 +0000 (11:10 -0800)] 
Compiles.

14 years agoMerge memslap
Brian Aker [Tue, 19 Jan 2010 04:59:05 +0000 (20:59 -0800)] 
Merge memslap

14 years agoMerge Lee
Brian Aker [Tue, 19 Jan 2010 04:58:14 +0000 (20:58 -0800)] 
Merge Lee

14 years ago1.Fix bug that memslap can't start up(ms_thread=NULL). 2.ignore signal SIGPIPE. 3...
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.

14 years agoSolaris fix
Brian Aker [Tue, 19 Jan 2010 01:11:41 +0000 (17:11 -0800)] 
Solaris fix

14 years agoFix inline methods for strings.
Brian Aker [Tue, 19 Jan 2010 00:55:33 +0000 (16:55 -0800)] 
Fix inline methods for strings.

14 years agoWe now check return key size for memcached_fetch() to make sure it is not
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.

14 years agoFix for issue where stats may not be initialized.
Brian Aker [Mon, 18 Jan 2010 23:29:11 +0000 (15:29 -0800)] 
Fix for issue where stats may not be initialized.

14 years agoNew allocator interface.
Brian Aker [Mon, 18 Jan 2010 22:58:20 +0000 (14:58 -0800)] 
New allocator interface.

14 years agoSmall style cleanup.
Brian Aker [Mon, 18 Jan 2010 19:42:24 +0000 (11:42 -0800)] 
Small style cleanup.

14 years agoFix conversion from macro to inline.
Brian Aker [Mon, 18 Jan 2010 19:22:44 +0000 (11:22 -0800)] 
Fix conversion from macro to inline.