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

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

16 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

16 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

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

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

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

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

16 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)

16 years agoFixed bug in memcached_version() call
Brian Aker [Sun, 25 Nov 2007 18:04:41 +0000 (10:04 -0800)] 
Fixed bug in memcached_version() call

16 years agoExtended tests so that memcached starts up its own tests
Brian Aker [Sun, 25 Nov 2007 17:17:34 +0000 (09:17 -0800)] 
Extended tests so that memcached starts up its own tests

16 years agoRefactored out param
Brian Aker [Sun, 25 Nov 2007 09:07:30 +0000 (01:07 -0800)] 
Refactored out param

16 years agoCleanedup test cases (they had some valgrind warnings).
Brian Aker [Sun, 25 Nov 2007 08:34:33 +0000 (00:34 -0800)] 
Cleanedup test cases (they had some valgrind warnings).
Rewrite response parsing.
Refactored server list to no longer use null serer (this is the first of a
series of cleanups to this code).

16 years agoBugfix for memcached_connect() so that it will not always start up servers.
Brian Aker [Sun, 25 Nov 2007 00:17:59 +0000 (16:17 -0800)] 
Bugfix for memcached_connect() so that it will not always start up servers.

16 years agoMemory leak for failed attempt to use memcached_result_free()
Brian Aker [Sat, 24 Nov 2007 00:38:14 +0000 (16:38 -0800)] 
Memory leak for failed attempt to use memcached_result_free()

16 years agoAdded more documentation on using libmemcached with threads.
Brian Aker [Fri, 23 Nov 2007 23:59:35 +0000 (15:59 -0800)] 
Added more documentation on using libmemcached with threads.

16 years agomemcached_behavior_set() can now modify the poll timeout
Brian Aker [Thu, 22 Nov 2007 06:54:48 +0000 (22:54 -0800)] 
memcached_behavior_set() can now modify the poll timeout

16 years agoAdding date for release
Brian Aker [Wed, 21 Nov 2007 07:22:44 +0000 (23:22 -0800)] 
Adding date for release

16 years agoAdded tag 0.10 for changeset 3edd680dcb59
Brian Aker [Wed, 21 Nov 2007 02:31:16 +0000 (18:31 -0800)] 
Added tag 0.10 for changeset 3edd680dcb59

16 years agoFix for new manpage 0.10
Brian Aker [Wed, 21 Nov 2007 02:31:11 +0000 (18:31 -0800)] 
Fix for new manpage

16 years agoUpdates for pkg-config.
Brian Aker [Wed, 21 Nov 2007 01:24:41 +0000 (17:24 -0800)] 
Updates for pkg-config.
Tests for "gets"

16 years agoFixed thread issue on Linux with gethostbyname_r().
Brian Aker [Tue, 20 Nov 2007 03:19:40 +0000 (19:19 -0800)] 
Fixed thread issue on Linux with gethostbyname_r().

16 years agoFix for poorly terminated hostname.
Brian Aker [Tue, 20 Nov 2007 01:42:26 +0000 (17:42 -0800)] 
Fix for poorly terminated hostname.
Fix in enum return type (misspelling).

16 years agoAdded memerror so that I can find out what an error code is without
Brian Aker [Tue, 20 Nov 2007 01:19:09 +0000 (17:19 -0800)] 
Added memerror so that I can find out what an error code is without
resorting to reading the source :)

16 years agoFull CAS support now enabled in the library.
Brian Aker [Mon, 19 Nov 2007 21:31:46 +0000 (13:31 -0800)] 
Full CAS support now enabled in the library.

16 years agoAdded MEMCACHED_BEHAVIOR_CACHE_LOOKUPS flag (you can now avoid multiple DNS
Brian Aker [Mon, 19 Nov 2007 17:47:20 +0000 (09:47 -0800)] 
Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS flag (you can now avoid multiple DNS
lookups).

16 years agoUpdate of docs on memcached_set with hashes.
Brian Aker [Mon, 19 Nov 2007 17:13:52 +0000 (09:13 -0800)] 
Update of docs on memcached_set with hashes.

16 years agoPossible fix for problem where servaddr may not always be correctly inited.
Brian Aker [Fri, 16 Nov 2007 21:40:36 +0000 (13:40 -0800)] 
Possible fix for problem where servaddr may not always be correctly inited.

16 years agoAdded test for binary append (works as an example as well!)
Brian Aker [Thu, 15 Nov 2007 21:17:18 +0000 (13:17 -0800)] 
Added test for binary append (works as an example as well!)
Fixed issue with bad assert in debug build
Updated version

17 years agoMore tests, and new code for append/prepend.
Brian Aker [Thu, 15 Nov 2007 16:10:49 +0000 (08:10 -0800)] 
More tests, and new code for append/prepend.
Also work t make this a release.

17 years agoFlags fix found by Stuart Midgley
Brian Aker [Thu, 15 Nov 2007 02:05:09 +0000 (18:05 -0800)] 
Flags fix found by Stuart Midgley

17 years agoRemoved more then a handfull of memset() calls.
Brian Aker [Wed, 14 Nov 2007 07:46:52 +0000 (23:46 -0800)] 
Removed more then a handfull of memset() calls.
Also reworked multiget to not need to call malloc().

17 years agoRework of the server connect so that "hostname" lookup does not occur for
Brian Aker [Wed, 14 Nov 2007 05:03:08 +0000 (21:03 -0800)] 
Rework of the server connect so that "hostname" lookup does not occur for
each reconnect.

Some framework for UDP protocol added.

17 years agoTesting to make sure that partial reads do not break protocol (aka on active
Brian Aker [Tue, 13 Nov 2007 21:47:31 +0000 (13:47 -0800)] 
Testing to make sure that partial reads do not break protocol (aka on active
cursors).

17 years agoRefactor all code to go through memcached_do().
Brian Aker [Tue, 13 Nov 2007 21:31:32 +0000 (13:31 -0800)] 
Refactor all code to go through memcached_do().

AKA this removed a bunch of copy and paste. It will also allow me to make
commands "safer" in case of mid-cursor exection.

17 years agoAdding comments to memcached_mget() that you need to call fetch methods
Brian Aker [Tue, 13 Nov 2007 06:43:00 +0000 (22:43 -0800)] 
Adding comments to memcached_mget() that you need to call fetch methods
until all data is recieved. Found partial bug in quit() call with open data.

17 years agoRemoving memory issue/cleanup for threads in src/memslap.c
Brian Aker [Tue, 13 Nov 2007 03:58:46 +0000 (19:58 -0800)] 
Removing memory issue/cleanup for threads in src/memslap.c

17 years agoUpdated tests (including one possible failing test from Brian Moon)
Brian Aker [Mon, 12 Nov 2007 21:20:56 +0000 (13:20 -0800)] 
Updated tests (including one possible failing test from Brian Moon)

17 years agoFixed bug where zero length key was provided.
Brian Aker [Mon, 12 Nov 2007 08:44:43 +0000 (00:44 -0800)] 
Fixed bug where zero length key was provided.

17 years agoFixing increment and decrement to take a 64bit unsigned value.
Brian Aker [Mon, 12 Nov 2007 07:07:28 +0000 (23:07 -0800)] 
Fixing increment and decrement to take a 64bit unsigned value.

17 years agoUpdating server_st to keep client buffers per server.
Brian Aker [Fri, 9 Nov 2007 22:18:25 +0000 (14:18 -0800)] 
Updating server_st to keep client buffers per server.
This is ground work to allow more async efforts around protocol.

17 years agoAdding friendly note about how to contribute to project.
Brian Aker [Fri, 9 Nov 2007 21:21:40 +0000 (13:21 -0800)] 
Adding friendly note about how to contribute to project.

17 years agoFixed bug reported by Stuart Midgley about what happens when there are no
Brian Aker [Fri, 9 Nov 2007 18:11:09 +0000 (10:11 -0800)] 
Fixed bug reported by Stuart Midgley about what happens when there are no
servers and you try to set/get values.

17 years agoMerged in new generate tests.
Brian Aker [Fri, 9 Nov 2007 08:57:23 +0000 (00:57 -0800)] 
Merged in new generate tests.

17 years agoUpdating test cases to return true/false
Brian Aker [Fri, 9 Nov 2007 08:51:53 +0000 (00:51 -0800)] 
Updating test cases to return true/false

17 years agoMore tests.
<brian@gir.tangent.org> [Fri, 9 Nov 2007 04:10:42 +0000 (20:10 -0800)] 
More tests.

17 years agoClean up warning for 32bit
<brian@gir.local> [Tue, 6 Nov 2007 16:48:14 +0000 (08:48 -0800)] 
Clean up warning for 32bit

17 years agoBuild the spec file (aka I stop hand editing it).
Brian Aker [Mon, 5 Nov 2007 23:44:48 +0000 (15:44 -0800)] 
Build the spec file (aka I stop hand editing it).

17 years agoAdded tag 0.8 for changeset 0e18bfea2fef
Brian Aker [Mon, 5 Nov 2007 19:36:58 +0000 (11:36 -0800)] 
Added tag 0.8 for changeset 0e18bfea2fef

17 years agoFixup for release 0.8
Brian Aker [Mon, 5 Nov 2007 19:36:50 +0000 (11:36 -0800)] 
Fixup for release

17 years agoRefactored out actual test code from test.c
Brian Aker [Sun, 4 Nov 2007 06:51:05 +0000 (23:51 -0700)] 
Refactored out actual test code from test.c

17 years agofetch_result() implemented for memcached_result_st.
Brian Aker [Sun, 4 Nov 2007 01:53:21 +0000 (18:53 -0700)] 
fetch_result() implemented for memcached_result_st.

17 years agoRestructuring for new memcached_result_st.
Brian Aker [Sat, 3 Nov 2007 23:28:42 +0000 (16:28 -0700)] 
Restructuring for new memcached_result_st.

Found a bug where string might get allocated incorrectly.

17 years agoFixed 64bit issue in hash.
Brian Aker [Sat, 3 Nov 2007 19:37:55 +0000 (12:37 -0700)] 
Fixed 64bit issue in hash.
Extended string structure for eventual static strings.
Added result structure.

17 years agopkgconfig support done (need to write example)
Brian Aker [Thu, 1 Nov 2007 09:57:39 +0000 (02:57 -0700)] 
pkgconfig support done (need to write example)
wrote wrapper for freeing memcached_stat_st structures
moved my_errno to be chached_errno (aka removed conflict with MySQL)

17 years agoUpdated to A Cruz note (he worked on helping me get the CRC hash to match
Brian Aker [Wed, 31 Oct 2007 17:28:23 +0000 (10:28 -0700)] 
Updated to A Cruz note (he worked on helping me get the CRC hash to match
other adaptors).

17 years agoMore Hashing methods
Brian Aker [Wed, 31 Oct 2007 17:20:28 +0000 (10:20 -0700)] 
More Hashing methods

17 years agoUpdate to interface (modified to better support lots of hashing functions).
Brian Aker [Wed, 31 Oct 2007 07:44:20 +0000 (00:44 -0700)] 
Update to interface (modified to better support lots of hashing functions).

Yes.... I apologize now for making non-backwards compatible change. Few were
probably using MD5 though since it was slow, I don't think this will be an
issue.

17 years agoUpdated test output.
Brian Aker [Wed, 31 Oct 2007 00:43:50 +0000 (17:43 -0700)] 
Updated test output.
More tests.

17 years agoAdded support for UNIX sockets.
Brian Aker [Wed, 31 Oct 2007 00:36:40 +0000 (17:36 -0700)] 
Added support for UNIX sockets.

17 years agoAdding support for CRC Hashing
Brian Aker [Tue, 30 Oct 2007 18:31:25 +0000 (11:31 -0700)] 
Adding support for CRC Hashing

17 years agoAdded tag 0_7 for changeset 3a8499f79e65
Brian Aker [Tue, 30 Oct 2007 17:38:47 +0000 (10:38 -0700)] 
Added tag 0_7 for changeset 3a8499f79e65

17 years agoModified test to allow it to run on slow machines (aka it ran too long) 0.7 0_7
Brian Aker [Tue, 30 Oct 2007 17:04:32 +0000 (10:04 -0700)] 
Modified test to allow it to run on slow machines (aka it ran too long)

17 years agoCleanup for release
Brian Aker [Tue, 30 Oct 2007 16:26:14 +0000 (09:26 -0700)] 
Cleanup for release

17 years agoAdding new memcached_clone() function
<brian@gir> [Sun, 28 Oct 2007 00:47:43 +0000 (17:47 -0700)] 
Adding new memcached_clone() function

17 years agoRandomm dead code cleanup/spelling errors/made a variable static.
<brian@gir> [Sat, 27 Oct 2007 22:42:10 +0000 (15:42 -0700)] 
Randomm dead code cleanup/spelling errors/made a variable static.

17 years agoFixed return length issues.
<brian@gir.tangent.org> [Sat, 27 Oct 2007 02:08:04 +0000 (19:08 -0700)] 
Fixed return length issues.
Moved to using read() to see if I can trap problems reported for dead
memcached servers.

17 years agoEnabled all tests (they now all pass)
<brian@gir.local> [Fri, 26 Oct 2007 08:07:00 +0000 (01:07 -0700)] 
Enabled all tests (they now all pass)

17 years agoThis fixes the overflow size_t possible problem in the string functions (yes,
<brian@gir.local> [Fri, 26 Oct 2007 08:05:48 +0000 (01:05 -0700)] 
This fixes the overflow size_t possible problem in the string functions (yes,
not likely to ever happen).

17 years agoBranch merge
<brian@gir.local> [Fri, 26 Oct 2007 07:28:28 +0000 (00:28 -0700)] 
Branch merge

17 years agoRewrote test loop to remove copy/paste code.
<brian@gir.local> [Fri, 26 Oct 2007 07:26:36 +0000 (00:26 -0700)] 
Rewrote test loop to remove copy/paste code.
WATCHPOINT now uses stderr.

17 years agoFix warning.
Brian Aker [Thu, 25 Oct 2007 18:24:45 +0000 (11:24 -0700)] 
Fix warning.

17 years agoUpdating changelog
<brian@dhcpvisitor216236.slac.stanford.edu> [Thu, 25 Oct 2007 18:16:21 +0000 (11:16 -0700)] 
Updating changelog

17 years agoCleaning out asserts;
<brian@dhcpvisitor216236.slac.stanford.edu> [Thu, 25 Oct 2007 18:15:51 +0000 (11:15 -0700)] 
Cleaning out asserts;

17 years agoAdding debug rules
<brian@dhcpvisitor216236.slac.stanford.edu> [Thu, 25 Oct 2007 18:00:50 +0000 (11:00 -0700)] 
Adding debug rules

17 years agoUpdated to build on OSX (will now require updated autoconf)
<brian@dhcpvisitor216236.slac.stanford.edu> [Thu, 25 Oct 2007 18:00:04 +0000 (11:00 -0700)] 
Updated to build on OSX (will now require updated autoconf)
New --enable-debug option for configure
WATCHPOINT are now compiled out (so safe to leave in code).
Cleaned up case in connect where wrong answer might be sent.
Cleaned up warnings in code around variable which might not have been
initialized.
Fixed usert test 3 (aka it was not using memory correctly)

17 years agoUpdated Changelog (may do a release this week).
Brian Aker [Wed, 24 Oct 2007 07:52:08 +0000 (00:52 -0700)] 
Updated Changelog (may do a release this week).

Certainly is enough fixes :)

17 years agoImprovement in multi-get. It no longer builds strings and sends them. It now
Brian Aker [Wed, 24 Oct 2007 07:49:10 +0000 (00:49 -0700)] 
Improvement in multi-get. It no longer builds strings and sends them. It now
sends them as it builds them.