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.
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.
Brian Aker [Thu, 14 Jan 2010 21:37:53 +0000 (13:37 -0800)]
Added more test cases for command line applications.
Brian Aker [Thu, 14 Jan 2010 20:16:45 +0000 (12:16 -0800)]
Fix for memerror if value is out of range.
Brian Aker [Thu, 14 Jan 2010 19:58:22 +0000 (11:58 -0800)]
Update how tests are performed.
Brian Aker [Thu, 14 Jan 2010 19:51:32 +0000 (11:51 -0800)]
Update tests for testplus.
Brian Aker [Thu, 14 Jan 2010 19:17:39 +0000 (11:17 -0800)]
Remove dead udp test.
Brian Aker [Thu, 14 Jan 2010 19:06:45 +0000 (11:06 -0800)]
Fix atomsmasher test
Brian Aker [Thu, 14 Jan 2010 18:30:57 +0000 (10:30 -0800)]
Small icc repairs.
Brian Aker [Thu, 14 Jan 2010 17:15:48 +0000 (09:15 -0800)]
Fix llu to zu
Brian Aker [Thu, 14 Jan 2010 07:23:35 +0000 (23:23 -0800)]
Fix for hudson valgrind build
Brian Aker [Thu, 14 Jan 2010 06:55:13 +0000 (22:55 -0800)]
Fix from --with-debug
Brian Aker [Thu, 14 Jan 2010 06:35:31 +0000 (22:35 -0800)]
Sign fix for variable (this should solve the solaris warning).
Brian Aker [Thu, 14 Jan 2010 05:58:37 +0000 (21:58 -0800)]
Remove custom parser/use API for parsing in memslap
Brian Aker [Thu, 14 Jan 2010 05:18:46 +0000 (21:18 -0800)]
Merge Monty
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.
Brian Aker [Thu, 14 Jan 2010 04:16:17 +0000 (20:16 -0800)]
Modify where memslap keeps its default config file.
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.
Monty Taylor [Thu, 14 Jan 2010 02:55:10 +0000 (18:55 -0800)]
Merged build.
Monty Taylor [Thu, 14 Jan 2010 02:52:56 +0000 (18:52 -0800)]
Fixed build on CentOS.
Brian Aker [Thu, 14 Jan 2010 00:43:14 +0000 (16:43 -0800)]
Small cleanup for for() to array.
Brian Aker [Thu, 14 Jan 2010 00:17:14 +0000 (16:17 -0800)]
32/64 bit cleanup issue in tests.
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.
Monty Taylor [Wed, 13 Jan 2010 23:36:10 +0000 (15:36 -0800)]
Reverted back to the old way of checking for libm. It makes FreeBSD happier.
Brian Aker [Wed, 13 Jan 2010 23:25:34 +0000 (15:25 -0800)]
Adding math include for libhashkit.
Monty Taylor [Wed, 13 Jan 2010 22:44:59 +0000 (14:44 -0800)]
Protected stdbool.h from being included by C++, which is invalid on Sun Studio.