awesomized/libmemcached
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.

14 years agoRemove mass calloc() on memcached_st creation.
Brian Aker [Sat, 16 Jan 2010 22:52:23 +0000 (14:52 -0800)] 
Remove mass calloc() on memcached_st creation.

14 years agoFirst pass for performance improvement on _clone() operations.
Brian Aker [Sat, 16 Jan 2010 02:47:17 +0000 (18:47 -0800)] 
First pass for performance improvement on _clone() operations.

14 years agoPartial patch on pass through to fix issues with trigger writers not
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

14 years agoFile Refactoring
Brian Aker [Sat, 16 Jan 2010 00:59:13 +0000 (16:59 -0800)] 
File Refactoring

14 years agoRemove test-plus from defaults.
Brian Aker [Sat, 16 Jan 2010 00:02:25 +0000 (16:02 -0800)] 
Remove test-plus from defaults.

14 years agoSmall cleanup in string.h and converted result_st macro to inline.
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.

14 years agoadd lcov and lcov-clean target
Lee Bieber [Fri, 15 Jan 2010 21:59:06 +0000 (13:59 -0800)] 
add lcov and lcov-clean target

14 years agoAdded micro-benchmark bits.
Brian Aker [Fri, 15 Jan 2010 21:49:15 +0000 (13:49 -0800)] 
Added micro-benchmark bits.

14 years agoRefactor test framework to run pre/post just once.
Brian Aker [Fri, 15 Jan 2010 21:26:02 +0000 (13:26 -0800)] 
Refactor test framework to run pre/post just once.

14 years agoEncapsulated a couple of options/moved flags around a bit.
Brian Aker [Fri, 15 Jan 2010 19:58:43 +0000 (11:58 -0800)] 
Encapsulated a couple of options/moved flags around a bit.

14 years agoUpdated test_truth to be test_true to match the shades, I mean test_false()
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()

14 years agoUpdates for CORK.
Brian Aker [Fri, 15 Jan 2010 19:25:46 +0000 (11:25 -0800)] 
Updates for CORK.

14 years agoMerge Thomason's cork patch.
Brian Aker [Fri, 15 Jan 2010 00:35:02 +0000 (16:35 -0800)] 
Merge Thomason's cork patch.

14 years agoAdded more test cases for command line applications.
Brian Aker [Thu, 14 Jan 2010 21:37:53 +0000 (13:37 -0800)] 
Added more test cases for command line applications.

14 years agoFix for memerror if value is out of range.
Brian Aker [Thu, 14 Jan 2010 20:16:45 +0000 (12:16 -0800)] 
Fix for memerror if value is out of range.

14 years agoUpdate how tests are performed.
Brian Aker [Thu, 14 Jan 2010 19:58:22 +0000 (11:58 -0800)] 
Update how tests are performed.

14 years agoUpdate tests for testplus.
Brian Aker [Thu, 14 Jan 2010 19:51:32 +0000 (11:51 -0800)] 
Update tests for testplus.

14 years agoRemove dead udp test.
Brian Aker [Thu, 14 Jan 2010 19:17:39 +0000 (11:17 -0800)] 
Remove dead udp test.

14 years agoFix atomsmasher test
Brian Aker [Thu, 14 Jan 2010 19:06:45 +0000 (11:06 -0800)] 
Fix atomsmasher test

14 years agoSmall icc repairs.
Brian Aker [Thu, 14 Jan 2010 18:30:57 +0000 (10:30 -0800)] 
Small icc repairs.

14 years agoFix llu to zu
Brian Aker [Thu, 14 Jan 2010 17:15:48 +0000 (09:15 -0800)] 
Fix llu to zu

14 years agoFix for hudson valgrind build
Brian Aker [Thu, 14 Jan 2010 07:23:35 +0000 (23:23 -0800)] 
Fix for hudson valgrind build

14 years agoFix from --with-debug
Brian Aker [Thu, 14 Jan 2010 06:55:13 +0000 (22:55 -0800)] 
Fix from --with-debug

14 years agoSign fix for variable (this should solve the solaris warning).
Brian Aker [Thu, 14 Jan 2010 06:35:31 +0000 (22:35 -0800)] 
Sign fix for variable (this should solve the solaris warning).

14 years agoRemove custom parser/use API for parsing in memslap
Brian Aker [Thu, 14 Jan 2010 05:58:37 +0000 (21:58 -0800)] 
Remove custom parser/use API for parsing in memslap

14 years agoMerge Monty
Brian Aker [Thu, 14 Jan 2010 05:18:46 +0000 (21:18 -0800)] 
Merge Monty

14 years agoAdded back in the ability to use a getenv string for servers.
Brian Aker [Thu, 14 Jan 2010 05:08:48 +0000 (21:08 -0800)] 
Added back in the ability to use a getenv string for servers.

14 years agoModify where memslap keeps its default config file.
Brian Aker [Thu, 14 Jan 2010 04:16:17 +0000 (20:16 -0800)] 
Modify where memslap keeps its default config file.

14 years agoMoved math include to after common which is where config.h is included. config.h...
Monty Taylor [Thu, 14 Jan 2010 02:56:23 +0000 (18:56 -0800)] 
Moved math include to after common which is where config.h is included. config.h really always needs to be included first.

14 years agoMerged build.
Monty Taylor [Thu, 14 Jan 2010 02:55:10 +0000 (18:55 -0800)] 
Merged build.

14 years agoFixed build on CentOS.
Monty Taylor [Thu, 14 Jan 2010 02:52:56 +0000 (18:52 -0800)] 
Fixed build on CentOS.

14 years agoSmall cleanup for for() to array.
Brian Aker [Thu, 14 Jan 2010 00:43:14 +0000 (16:43 -0800)] 
Small cleanup for for() to array.

14 years ago32/64 bit cleanup issue in tests.
Brian Aker [Thu, 14 Jan 2010 00:17:14 +0000 (16:17 -0800)] 
32/64 bit cleanup issue in tests.

14 years agoRemoved AC_CHECK_FUNCS_ONCE, it does not work on automake 1.9.
Monty Taylor [Wed, 13 Jan 2010 23:44:43 +0000 (15:44 -0800)] 
Removed AC_CHECK_FUNCS_ONCE, it does not work on automake 1.9.