awesomized/libmemcached
16 years agoRefactored all of the IO commands to pass only server structures (this is an
<brian@gir.tangent.org> [Mon, 21 Jan 2008 04:26:30 +0000 (20:26 -0800)] 
Refactored all of the IO commands to pass only server structures (this is an
internal thing... no changes to external interfaces).

16 years agoTyped clone and cleanup functions with memcached_ prefixes,
<brian@gir.local> [Sat, 19 Jan 2008 23:24:44 +0000 (18:24 -0500)] 
Typed clone and cleanup functions with memcached_ prefixes,

16 years agoPulling back the C++ code to just be an include.
<brian@gir.local> [Sat, 19 Jan 2008 23:09:02 +0000 (18:09 -0500)] 
Pulling back the C++ code to just be an include.

16 years agoAdding missing pod file.
<brian@gir.local> [Sat, 19 Jan 2008 23:00:01 +0000 (18:00 -0500)] 
Adding missing pod file.

16 years agoLeftover prototypes from deleted code removed.
<brian@gir.local> [Sat, 19 Jan 2008 22:19:52 +0000 (17:19 -0500)] 
Leftover prototypes from deleted code removed.

16 years agoCustom memory patch work (based on Sean Chittenden's patch)
<brian@gir.local> [Sat, 19 Jan 2008 21:58:54 +0000 (16:58 -0500)] 
Custom memory patch work (based on Sean Chittenden's patch)

16 years agoMore on clone/cleanup callbacks
<brian@gir.local> [Fri, 18 Jan 2008 19:09:30 +0000 (14:09 -0500)] 
More on clone/cleanup callbacks

16 years agoMerge.
<brian@gir.local> [Fri, 18 Jan 2008 18:57:45 +0000 (13:57 -0500)] 
Merge.

16 years agoThis patch includes all of the callback work for setting clone() and cleanup()
<brian@gir.local> [Fri, 18 Jan 2008 18:54:24 +0000 (13:54 -0500)] 
This patch includes all of the callback work for setting clone() and cleanup()
operations.

16 years agoFix to support/libmemcached.pc.in by removal of -rpath, causing problems
<patg@patg.net> [Fri, 18 Jan 2008 17:45:57 +0000 (12:45 -0500)] 
Fix to support/libmemcached.pc.in by removal of -rpath, causing problems
for some (PKG_CHECK_MODULES)

16 years agoAdding test for MEMCACHED_BEHAVIOR_USER_DATA
<brian@gir.local> [Tue, 15 Jan 2008 22:41:17 +0000 (17:41 -0500)] 
Adding test for MEMCACHED_BEHAVIOR_USER_DATA

16 years agoCleanup's for Tim. Also dropping support back to ipv4 only while I find out
<brian@gir.local> [Tue, 15 Jan 2008 22:33:52 +0000 (17:33 -0500)] 
Cleanup's for Tim. Also dropping support back to ipv4 only while I find out
what broke in IPV6 on OSX.

16 years agoFirst push of example C++ interface.
<brian@gir.local> [Mon, 14 Jan 2008 05:53:41 +0000 (00:53 -0500)] 
First push of example C++ interface.

16 years agoMade clear HUGE and SMALL should not be used.
<brian@gir.local> [Sun, 13 Jan 2008 23:41:50 +0000 (18:41 -0500)] 
Made clear HUGE and SMALL should not be used.

16 years agoUpdated docs that Tim noticed.
<brian@gir.local> [Sun, 13 Jan 2008 23:40:22 +0000 (18:40 -0500)] 
Updated docs that Tim noticed.

16 years agoAdded tag 0.13 for changeset e55060178621
Brian Aker [Sun, 13 Jan 2008 14:52:14 +0000 (06:52 -0800)] 
Added tag 0.13 for changeset e55060178621

16 years agoAdding date for release 0.13
Brian Aker [Sun, 13 Jan 2008 14:52:08 +0000 (06:52 -0800)] 
Adding date for release

16 years agoMEMCACHED_BEHAVIOR_USER_DATA work. This allows a client application to store
Brian Aker [Fri, 11 Jan 2008 21:43:36 +0000 (13:43 -0800)] 
MEMCACHED_BEHAVIOR_USER_DATA work. This allows a client application to store
a pointer set of data into the library.

16 years agoFix for connect() to invalidate socket on failure.
Brian Aker [Thu, 10 Jan 2008 00:39:38 +0000 (16:39 -0800)] 
Fix for connect() to invalidate socket on failure.

16 years agoTest Cleanup.
Brian Aker [Wed, 9 Jan 2008 21:51:14 +0000 (13:51 -0800)] 
Test Cleanup.

16 years agoMore timeout cleanup
Brian Aker [Wed, 9 Jan 2008 20:21:22 +0000 (12:21 -0800)] 
More timeout cleanup

16 years agoMerge
Brian Aker [Wed, 9 Jan 2008 18:11:23 +0000 (10:11 -0800)] 
Merge

16 years agoDocumentation and Changlog information.
Brian Aker [Wed, 9 Jan 2008 18:10:34 +0000 (10:10 -0800)] 
Documentation and Changlog information.

16 years agoPatch by Marc Rossi to add --hash to command line tools.
<brian@gir.local> [Wed, 9 Jan 2008 16:08:44 +0000 (08:08 -0800)] 
Patch by Marc Rossi to add --hash to command line tools.
Fixed bug in freeing of memory on exit (it could be causing crashes on end of
program).

16 years agomerge
<brian@gir.tangent.org> [Wed, 9 Jan 2008 07:09:32 +0000 (23:09 -0800)] 
merge

16 years agoIncorrect polltimeout set on test (Patch by Kevin)
<brian@gir.tangent.org> [Wed, 9 Jan 2008 07:08:48 +0000 (23:08 -0800)] 
Incorrect polltimeout set on test (Patch by Kevin)

16 years agoKevin Dalley's patch for EOF
Brian Aker [Tue, 8 Jan 2008 20:00:21 +0000 (12:00 -0800)] 
Kevin Dalley's patch for EOF

16 years agoRemoving all of the multi-set bits (aka the buffer code is faster, so why
<brian@gir.tangent.org> [Tue, 8 Jan 2008 19:12:56 +0000 (11:12 -0800)] 
Removing all of the multi-set bits (aka the buffer code is faster, so why
bother).

16 years agoRemoving dead code.
<brian@gir.tangent.org> [Tue, 8 Jan 2008 17:48:42 +0000 (09:48 -0800)] 
Removing dead code.

16 years agoPatch by Toru Maesaka for stats comparison
<brian@gir.tangent.org> [Mon, 7 Jan 2008 19:14:42 +0000 (11:14 -0800)] 
Patch by Toru Maesaka for stats comparison

16 years agoTest fixes for new return code on buffered calls.
Brian Aker [Sat, 5 Jan 2008 09:33:01 +0000 (01:33 -0800)] 
Test fixes for new return code on buffered calls.
I've also added an ASSERT during debug for read() calls of zero. I would
like to determine if there is anything broken in the protocol.

16 years agoFix for bad error in execute.
Brian Aker [Sat, 5 Jan 2008 08:54:50 +0000 (00:54 -0800)] 
Fix for bad error in execute.
Hard flushes in generate tests.

16 years agoMerging
<brian@gir.tangent.org> [Sat, 5 Jan 2008 08:03:46 +0000 (00:03 -0800)] 
Merging

16 years agomemcached_behavior() causes commands to be buffered until they are flushed to
<brian@gir.tangent.org> [Sat, 5 Jan 2008 08:01:45 +0000 (00:01 -0800)] 
memcached_behavior() causes commands to be buffered until they are flushed to
the remote connection.

16 years agoFix to doc for memcached_server_add_unix_socket
<patg@patg.net> [Thu, 3 Jan 2008 22:26:32 +0000 (17:26 -0500)] 
Fix to doc for memcached_server_add_unix_socket

16 years agoCONSTANTS documentation.
Brian Aker [Sat, 29 Dec 2007 07:11:40 +0000 (23:11 -0800)] 
CONSTANTS documentation.

16 years agoFixed issue between 32bit and 64bit hash calculations (compatibility issue
Brian Aker [Fri, 28 Dec 2007 06:10:38 +0000 (22:10 -0800)] 
Fixed issue between 32bit and 64bit hash calculations (compatibility issue
with Java driver).

16 years agoMerging branches.
<brian@gir.tangent.org> [Sat, 22 Dec 2007 06:00:00 +0000 (22:00 -0800)] 
Merging branches.

16 years agoFixed a bug Cal found on null termination of a result for memcached_fetch()
Brian Aker [Sat, 22 Dec 2007 01:26:25 +0000 (17:26 -0800)] 
Fixed a bug Cal found on null termination of a result for memcached_fetch()

16 years agoNEw code for the memcached_fetch_execute() function.
Brian Aker [Sat, 22 Dec 2007 01:00:28 +0000 (17:00 -0800)] 
NEw code for the memcached_fetch_execute() function.

Callbacks are in the house :)

16 years agoMulti branch work.
Brian Aker [Wed, 19 Dec 2007 19:51:09 +0000 (11:51 -0800)] 
Multi branch work.

16 years agoFixed error in lack of pointer found (Tim Bunce discovered)
Brian Aker [Tue, 18 Dec 2007 17:19:09 +0000 (09:19 -0800)] 
Fixed error in lack of pointer found (Tim Bunce discovered)

16 years agoFix to make all keys null terminated (sort of surprised that I had not done
Brian Aker [Tue, 18 Dec 2007 09:36:49 +0000 (01:36 -0800)] 
Fix to make all keys null terminated (sort of surprised that I had not done
this before)

16 years agoCode for multi delete functions.
Brian Aker [Tue, 18 Dec 2007 09:12:49 +0000 (01:12 -0800)] 
Code for multi delete functions.

16 years agoPortability patches from Kevin Dalley for Freebsd 4.0.
Brian Aker [Tue, 18 Dec 2007 01:31:56 +0000 (17:31 -0800)] 
Portability patches from Kevin Dalley for Freebsd 4.0.

16 years agoMore Changelog.. note on Freebsd
Brian Aker [Mon, 17 Dec 2007 22:12:28 +0000 (14:12 -0800)] 
More Changelog.. note on Freebsd

16 years agoUpdating Changelog
Brian Aker [Mon, 17 Dec 2007 22:11:01 +0000 (14:11 -0800)] 
Updating Changelog

16 years agoFix for when CRC return 0.
Brian Aker [Mon, 17 Dec 2007 22:09:40 +0000 (14:09 -0800)] 
Fix for when CRC return 0.

16 years agoRefactor of response code. All of it has been streamlined to allow for multi
Brian Aker [Mon, 17 Dec 2007 21:16:08 +0000 (13:16 -0800)] 
Refactor of response code. All of it has been streamlined to allow for multi
delete/set operations.

16 years agoRefactor (1st piece) of logic around creating messages and recieving
Brian Aker [Mon, 17 Dec 2007 06:59:04 +0000 (22:59 -0800)] 
Refactor (1st piece) of logic around creating messages and recieving
messages.

16 years agoMinor bug discovered at hackathon.
Brian Aker [Sun, 16 Dec 2007 12:54:33 +0000 (04:54 -0800)] 
Minor bug discovered at hackathon.

16 years agoFix for lingers socket issues on Freebsd
Brian Aker [Fri, 14 Dec 2007 10:15:03 +0000 (02:15 -0800)] 
Fix for lingers socket issues on Freebsd

16 years agoFixed test cases (hackathon item)
Brian Aker [Fri, 14 Dec 2007 08:35:13 +0000 (00:35 -0800)] 
Fixed test cases (hackathon item)

16 years agoFixed uint16_t issues
Brian Aker [Fri, 14 Dec 2007 08:13:03 +0000 (00:13 -0800)] 
Fixed uint16_t issues

16 years agoTurns out the protocol docs were in error, and that the size for 1.2 was a
<brian@wlan-guest-114.corp.yahoo.com> [Fri, 14 Dec 2007 04:24:58 +0000 (20:24 -0800)] 
Turns out the protocol docs were in error, and that the size for 1.2 was a
uint32_t, not a uint16_t.

16 years agoCommitting work for next release (got to do something over lunch aye?)
Brian Aker [Tue, 11 Dec 2007 23:40:24 +0000 (15:40 -0800)] 
Committing work for next release (got to do something over lunch aye?)

16 years agoPerformance improvements in get operations
Brian Aker [Tue, 11 Dec 2007 22:45:07 +0000 (14:45 -0800)] 
Performance improvements in get operations

16 years agoChanging the value of linger to just be max
Brian Aker [Tue, 11 Dec 2007 20:35:30 +0000 (12:35 -0800)] 
Changing the value of linger to just be max

16 years agoSuggested change from Antony
Brian Aker [Tue, 11 Dec 2007 19:52:24 +0000 (11:52 -0800)] 
Suggested change from Antony

16 years agoRaised default timeout.
Brian Aker [Tue, 11 Dec 2007 08:25:29 +0000 (00:25 -0800)] 
Raised default timeout.
Removed bad assert, and useless debug message.

16 years agoNew async test.
Brian Aker [Tue, 11 Dec 2007 08:11:46 +0000 (00:11 -0800)] 
New async test.

Lingerd is now working well with fcntl() in order to get async close.

16 years agoCleanup of linger call.
Brian Aker [Tue, 11 Dec 2007 02:34:49 +0000 (18:34 -0800)] 
Cleanup of linger call.

16 years agoRemoved recent regression issue with close()
Brian Aker [Tue, 11 Dec 2007 00:58:51 +0000 (16:58 -0800)] 
Removed recent regression issue with close()

16 years agoFixed a small error in the documentation.
<davida@breeze2.tangent.org> [Sun, 9 Dec 2007 00:00:07 +0000 (16:00 -0800)] 
Fixed a small error in the documentation.

16 years agoDocumentation fixes
Mark Atwood [Sat, 8 Dec 2007 23:49:32 +0000 (15:49 -0800)] 
Documentation fixes

16 years agoRefactor of async code. poll() is now only called when needed.
<brian@gir.tangent.org> [Sat, 8 Dec 2007 23:29:50 +0000 (08:29 +0900)] 
Refactor of async code. poll() is now only called when needed.

16 years agoAdding delete_by_key function to complete partitioning by key feature.
<brian@gir.local> [Fri, 7 Dec 2007 03:22:25 +0000 (12:22 +0900)] 
Adding delete_by_key function to complete partitioning by key feature.

16 years agoModifying tests to always get failures (aka test that failure logic is
Brian Aker [Thu, 6 Dec 2007 23:31:14 +0000 (15:31 -0800)] 
Modifying tests to always get failures (aka test that failure logic is
working).

Added bug11 test to make sure that default timeout is not too aggressive.

16 years agoExtending tests...
Brian Aker [Wed, 5 Dec 2007 23:23:51 +0000 (15:23 -0800)] 
Extending tests...

16 years agoUpdating to remove memory leak in functions.c (aka test cases).
Brian Aker [Wed, 5 Dec 2007 22:46:48 +0000 (14:46 -0800)] 
Updating to remove memory leak in functions.c (aka test cases).

16 years agoCleanup of spelling error in option.
<brian@h220-215-226-164.catv02.itscom.jp> [Wed, 5 Dec 2007 13:13:52 +0000 (22:13 +0900)] 
Cleanup of spelling error in option.

Documentation on storage by key commands.

16 years agoadding documentation for memcached_get_by_key() and memcached_mget_by_key().
<brian@h220-215-226-164.catv02.itscom.jp> [Tue, 4 Dec 2007 23:52:19 +0000 (08:52 +0900)] 
adding documentation for memcached_get_by_key() and memcached_mget_by_key().

16 years agoThis includes work for partitioning by key. Dormando wished for these methods.
<brian@h220-215-226-164.catv02.itscom.jp> [Tue, 4 Dec 2007 22:16:47 +0000 (07:16 +0900)] 
This includes work for partitioning by key. Dormando wished for these methods.

16 years agoFirst push (no docs) on range by key request by Dormondo.
<brian@h220-215-226-164.catv02.itscom.jp> [Tue, 4 Dec 2007 22:11:04 +0000 (07:11 +0900)] 
First push (no docs) on range by key request by Dormondo.

With this patch you can now group keys to particular sets of servers.

16 years agoFix for hash not being cloned.
<brian@h220-215-226-164.catv02.itscom.jp> [Tue, 4 Dec 2007 20:08:26 +0000 (05:08 +0900)] 
Fix for hash not being cloned.

16 years agoHash algo was not being copied. andre@cabine.org discovered this.
<brian@h220-215-226-164.catv02.itscom.jp> [Tue, 4 Dec 2007 19:52:46 +0000 (04:52 +0900)] 
Hash algo was not being copied. andre@cabine.org discovered this.

16 years agoFix to removed GNU specific bit
Brian Aker [Mon, 3 Dec 2007 03:36:33 +0000 (19:36 -0800)] 
Fix to removed GNU specific bit

16 years agoFixing failure of socket issue.
<brian@gir.local> [Mon, 3 Dec 2007 03:29:59 +0000 (12:29 +0900)] 
Fixing failure of socket issue.

16 years agoFixed problem with out of range character in key.
<brian@h220-215-226-164.catv02.itscom.jp> [Mon, 3 Dec 2007 00:17:05 +0000 (09:17 +0900)] 
Fixed problem with out of range character in key.

16 years agoFix for minor rewrite in clone method of number of hosts.
<brian@gir.local> [Sun, 2 Dec 2007 01:00:48 +0000 (17:00 -0800)] 
Fix for minor rewrite in clone method of number of hosts.

16 years agoExtending test cases (Hsieh has benchmarks now run by default)
<brian@gir.local> [Sun, 2 Dec 2007 00:30:41 +0000 (16:30 -0800)] 
Extending test cases (Hsieh has benchmarks now run by default)

16 years agoFixed memcached_get() to now use finish instead of faking extra response.
Brian Aker [Sat, 1 Dec 2007 12:01:03 +0000 (04:01 -0800)] 
Fixed memcached_get() to now use finish instead of faking extra response.
All fetch methods have been moved to memcached_fetch.c files.

16 years agoFix for Linux system for async protocol.
Brian Aker [Sat, 1 Dec 2007 11:43:52 +0000 (03:43 -0800)] 
Fix for Linux system for async protocol.
Fix for reworked memcached_get() code.

This should solve the known  issues with the protocol going weird while
using async.

16 years agoFix in issue where no servers are to be found (introduced in last refactoring)
<brian@gir.tangent.org> [Sat, 1 Dec 2007 07:33:46 +0000 (23:33 -0800)] 
Fix in issue where no servers are to be found (introduced in last refactoring)

16 years agoBig fix for async mode to make sure all data has been pushed through socket
<brian@gir.tangent.org> [Sat, 1 Dec 2007 03:48:03 +0000 (19:48 -0800)] 
Big fix for async mode to make sure all data has been pushed through socket
before close.

Refactor of memcached_get() to use common code.

16 years agoNeeded to add memset to remove crashing case in memslap
Brian Aker [Fri, 30 Nov 2007 07:14:00 +0000 (23:14 -0800)] 
Needed to add memset to remove crashing case in memslap

16 years agoUpdating documentation on consistent hashing.
Brian Aker [Thu, 29 Nov 2007 21:38:46 +0000 (13:38 -0800)] 
Updating documentation on consistent hashing.

16 years agoAdded tests for consistent hash.
Brian Aker [Thu, 29 Nov 2007 21:34:03 +0000 (13:34 -0800)] 
Added tests for consistent hash.
Fixed memory issue in _stats.
Added interface to externally enable consistent hash.

16 years agoIPV6 support, plus cleanup around consistent hashing.
<brian@gir.tangent.org> [Thu, 29 Nov 2007 16:59:19 +0000 (08:59 -0800)] 
IPV6 support, plus cleanup around consistent hashing.

16 years agoExtended consistent hash logic to handle splice (should distribute keys much
<brian@gir.local> [Thu, 29 Nov 2007 03:48:02 +0000 (19:48 -0800)] 
Extended consistent hash logic to handle splice (should distribute keys much
more evenly then previous design).

16 years agoLonger test case added for server parsing.
Brian Aker [Wed, 28 Nov 2007 16:30:38 +0000 (08:30 -0800)] 
Longer test case added for server parsing.
Test also looks at servers which can not be connected to.
Removed special memset in md5.

16 years agoFix for source specfile (aka source RPM).
Brian Aker [Wed, 28 Nov 2007 01:20:20 +0000 (17:20 -0800)] 
Fix for source specfile (aka source RPM).
Modified hostname to be static allocation (saves the system call at the cost
of 64 bytes of memory in servers_st structure).

17 years agoUpdating with more ignores.
Brian Aker [Mon, 26 Nov 2007 09:17:52 +0000 (01:17 -0800)] 
Updating with more ignores.

17 years agoAdded tag .11 for changeset 8d16fe8ee085
Brian Aker [Mon, 26 Nov 2007 09:12:48 +0000 (01:12 -0800)] 
Added tag .11 for changeset 8d16fe8ee085

17 years agoUpdating date for release .11 0.11 _11
Brian Aker [Mon, 26 Nov 2007 09:12:41 +0000 (01:12 -0800)] 
Updating date for release .11
Extended .hgignore

17 years agoCleanuped up make test
Brian Aker [Sun, 25 Nov 2007 22:05:37 +0000 (14:05 -0800)] 
Cleanuped up make test

17 years agoAdded MEMCACHED_HASH_HSIEH.
Brian Aker [Sun, 25 Nov 2007 22:01:18 +0000 (14:01 -0800)] 
Added MEMCACHED_HASH_HSIEH.

17 years agoFixed output variables in rusage
Brian Aker [Sun, 25 Nov 2007 21:23:31 +0000 (13:23 -0800)] 
Fixed output variables in rusage

17 years agoUpdating test output
Brian Aker [Sun, 25 Nov 2007 21:18:31 +0000 (13:18 -0800)] 
Updating test output

17 years agoCleanup of stats code (fixed byte alignment issue)
Brian Aker [Sun, 25 Nov 2007 20:52:06 +0000 (12:52 -0800)] 
Cleanup of stats code (fixed byte alignment issue)