m6w6/libmemcached
14 years agoICC and test fix.
Brian Aker [Fri, 18 Dec 2009 18:46:19 +0000 (10:46 -0800)] 
ICC and test fix.

14 years agoMerge Trond
Brian Aker [Fri, 18 Dec 2009 16:52:59 +0000 (08:52 -0800)] 
Merge Trond

14 years agoFix problem with bumping the command counter _before_ connecting to the server
Trond Norbye [Fri, 18 Dec 2009 12:07:20 +0000 (13:07 +0100)] 
Fix problem with bumping the command counter _before_ connecting to the server

14 years agoCode cleanup in memcached_io_close
Trond Norbye [Fri, 18 Dec 2009 11:18:05 +0000 (12:18 +0100)] 
Code cleanup in memcached_io_close

14 years agomemcached_quit should clear internal server variables
Trond Norbye [Fri, 18 Dec 2009 11:17:36 +0000 (12:17 +0100)] 
memcached_quit should clear internal server variables

14 years agoIgnore unknown stat keys
Trond Norbye [Fri, 18 Dec 2009 10:20:24 +0000 (11:20 +0100)] 
Ignore unknown stat keys

14 years agoDisable murmur test on sparc hardware (platform specific hash algorith)
Trond Norbye [Fri, 18 Dec 2009 10:07:29 +0000 (11:07 +0100)] 
Disable murmur test on sparc hardware (platform specific hash algorith)

14 years agoAdded dependencies to allow parallel compilation
Trond Norbye [Fri, 18 Dec 2009 10:06:36 +0000 (11:06 +0100)] 
Added dependencies to allow parallel compilation

14 years agoMerge Monty.
Brian Aker [Fri, 18 Dec 2009 05:45:53 +0000 (21:45 -0800)] 
Merge Monty.

14 years agoICC cleanups
Brian Aker [Fri, 18 Dec 2009 02:37:31 +0000 (18:37 -0800)] 
ICC cleanups

14 years agoMerged from build.
Monty Taylor [Fri, 18 Dec 2009 01:25:43 +0000 (17:25 -0800)] 
Merged from build.

14 years agoUpdated to latest pandora-build. Removed the .ver scripts to be consistent with other...
Monty Taylor [Fri, 18 Dec 2009 00:00:02 +0000 (16:00 -0800)] 
Updated to latest pandora-build. Removed the .ver scripts to be consistent with other libs.

14 years agoAdded .h for dump.
Brian Aker [Thu, 17 Dec 2009 23:46:32 +0000 (15:46 -0800)] 
Added .h for dump.

14 years agoSmall build fix.
Brian Aker [Thu, 17 Dec 2009 23:16:41 +0000 (15:16 -0800)] 
Small build fix.

14 years ago-P seems to want an abs path.
Monty Taylor [Thu, 17 Dec 2009 21:29:24 +0000 (13:29 -0800)] 
-P seems to want an abs path.

14 years agoMoves everything into root makefile except for docs.
Monty Taylor [Thu, 17 Dec 2009 21:24:01 +0000 (13:24 -0800)] 
Moves everything into root makefile except for docs.

14 years agoMoved clients and libmemcached to being included in root build.
Monty Taylor [Thu, 17 Dec 2009 20:13:13 +0000 (12:13 -0800)] 
Moved clients and libmemcached to being included in root build.

14 years agoMerge Trond.
Brian Aker [Thu, 17 Dec 2009 17:49:14 +0000 (09:49 -0800)] 
Merge Trond.

14 years agoAdding back libhashkit.
Brian Aker [Thu, 17 Dec 2009 17:28:30 +0000 (09:28 -0800)] 
Adding back libhashkit.

14 years agoUpdate for hosts.c for sort.
Brian Aker [Thu, 17 Dec 2009 16:37:42 +0000 (08:37 -0800)] 
Update for hosts.c for sort.

14 years agoAdding in a consistent test for crc.
Brian Aker [Thu, 17 Dec 2009 16:19:11 +0000 (08:19 -0800)] 
Adding in a consistent test for crc.

14 years agoDon't use int to initialize memcached_return_t
Trond Norbye [Thu, 17 Dec 2009 12:47:36 +0000 (13:47 +0100)] 
Don't use int to initialize memcached_return_t

14 years agoUpdated the malloc tests so that they will break if we mix memory allocators. compile...
Trond Norbye [Thu, 17 Dec 2009 12:20:39 +0000 (13:20 +0100)] 
Updated the malloc tests so that they will break if we mix memory allocators. compile with -DHARD_MALLOC_TESTS to enable

14 years agoUse calloc to allocate the result structure to initialize the object data
Trond Norbye [Thu, 17 Dec 2009 11:23:35 +0000 (12:23 +0100)] 
Use calloc to allocate the result structure to initialize the object data

14 years agocreate_core should wait for the child to be done writing the core
Trond Norbye [Thu, 17 Dec 2009 09:25:19 +0000 (10:25 +0100)] 
create_core should wait for the child to be done writing the core

14 years agoFixed compilation with --with-debug
Trond Norbye [Thu, 17 Dec 2009 09:12:35 +0000 (10:12 +0100)] 
Fixed compilation with --with-debug

14 years agoICC fixes.
Brian Aker [Thu, 17 Dec 2009 08:34:22 +0000 (00:34 -0800)] 
ICC fixes.

14 years agoFix for replication test.
Brian Aker [Thu, 17 Dec 2009 08:29:11 +0000 (00:29 -0800)] 
Fix for replication test.

14 years agoICC fixes
Brian Aker [Thu, 17 Dec 2009 08:03:27 +0000 (00:03 -0800)] 
ICC fixes

14 years agoFix for solaris.
Brian Aker [Thu, 17 Dec 2009 07:31:42 +0000 (23:31 -0800)] 
Fix for solaris.

14 years agoUpdating interface.
Brian Aker [Thu, 17 Dec 2009 07:20:58 +0000 (23:20 -0800)] 
Updating interface.

14 years agoMore const correctness.
Brian Aker [Thu, 17 Dec 2009 00:11:59 +0000 (16:11 -0800)] 
More const correctness.

14 years agoUpdating files for hudson, sorted bzignore for Trond.
Brian Aker [Wed, 16 Dec 2009 23:24:08 +0000 (15:24 -0800)] 
Updating files for hudson, sorted bzignore for Trond.

14 years agoMass rename to simplify names.
Brian Aker [Wed, 16 Dec 2009 23:01:10 +0000 (15:01 -0800)] 
Mass rename to simplify names.

Do you know how many times I get annoyed on a daily basis that I can't use
tabs on the command line? Yeah... should have done this a while ago.

14 years agoFirst merge of Trond's patches (cherry picking).
Brian Aker [Wed, 16 Dec 2009 20:17:21 +0000 (12:17 -0800)] 
First merge of Trond's patches (cherry picking).

14 years agoUpdate for test system.
Brian Aker [Wed, 16 Dec 2009 20:03:28 +0000 (12:03 -0800)] 
Update for test system.

14 years agoUpdated copyright headers.
Brian Aker [Wed, 16 Dec 2009 19:03:49 +0000 (11:03 -0800)] 
Updated copyright headers.

14 years agoStyle cleanup
Brian Aker [Wed, 16 Dec 2009 18:53:44 +0000 (10:53 -0800)] 
Style cleanup

14 years agoAdditional flag removal.
Brian Aker [Wed, 16 Dec 2009 17:52:31 +0000 (09:52 -0800)] 
Additional flag removal.

14 years agoCode change to use struct bitsets.
Brian Aker [Wed, 16 Dec 2009 17:34:28 +0000 (09:34 -0800)] 
Code change to use struct bitsets.

14 years agoMerge of Jake's work.
Brian Aker [Wed, 16 Dec 2009 17:26:45 +0000 (09:26 -0800)] 
Merge of Jake's work.

14 years agoMErge Trond
Brian Aker [Mon, 7 Dec 2009 17:21:44 +0000 (09:21 -0800)] 
MErge Trond

14 years agoFixed ILP32 issues
Trond Norbye [Sun, 6 Dec 2009 09:02:23 +0000 (10:02 +0100)] 
Fixed ILP32 issues

14 years agoCreated a pandora-check for printing callstacks
Trond Norbye [Sat, 5 Dec 2009 13:11:26 +0000 (14:11 +0100)] 
Created a pandora-check for printing callstacks

14 years agoDon't create a core if the client explicitly told it not to
Trond Norbye [Sat, 5 Dec 2009 12:53:58 +0000 (13:53 +0100)] 
Don't create a core if the client explicitly told it not to

14 years agoMerging in platform fixes for libmemcached.
Brian Aker [Fri, 4 Dec 2009 09:23:21 +0000 (01:23 -0800)] 
Merging in platform fixes for libmemcached.

14 years agoCasting fixes for linux.
Monty Taylor [Thu, 3 Dec 2009 20:29:35 +0000 (12:29 -0800)] 
Casting fixes for linux.

14 years agoFixed for OSX.
Monty Taylor [Thu, 3 Dec 2009 20:16:27 +0000 (12:16 -0800)] 
Fixed for OSX.

14 years agoFixed atomics and getline on solaris.
Monty Taylor [Thu, 3 Dec 2009 19:26:03 +0000 (11:26 -0800)] 
Fixed atomics and getline on solaris.

14 years agoAdded atomic workaround header.
Monty Taylor [Thu, 3 Dec 2009 17:31:52 +0000 (09:31 -0800)] 
Added atomic workaround header.

14 years agoUpdates from Trond.
Brian Aker [Thu, 3 Dec 2009 17:10:24 +0000 (09:10 -0800)] 
Updates from Trond.

14 years agoFix the test_xxx macros, and generate coredump if the test fails
Trond Norbye [Thu, 3 Dec 2009 15:22:16 +0000 (16:22 +0100)] 
Fix the test_xxx macros, and generate coredump if the test fails

14 years agoAdding memslap tool.
Brian Aker [Thu, 3 Dec 2009 08:10:08 +0000 (00:10 -0800)] 
Adding memslap tool.

14 years agopandora-build v0.80 - fix build for old lds.
Monty Taylor [Wed, 2 Dec 2009 23:07:36 +0000 (15:07 -0800)] 
pandora-build v0.80 - fix build for old lds.

14 years agoMerged trunk.
Monty Taylor [Wed, 2 Dec 2009 23:07:20 +0000 (15:07 -0800)] 
Merged trunk.

14 years agopandora-build v0.79. Added support for generating HEX version.
Monty Taylor [Wed, 2 Dec 2009 22:04:02 +0000 (14:04 -0800)] 
pandora-build v0.79. Added support for generating HEX version.

14 years agopandora-build v0.78
Monty Taylor [Wed, 2 Dec 2009 20:48:39 +0000 (12:48 -0800)] 
pandora-build v0.78

14 years agopandora-build v0.76 - synced with drizzle
Monty Taylor [Wed, 2 Dec 2009 04:52:25 +0000 (20:52 -0800)] 
pandora-build v0.76 - synced with drizzle

14 years agopandora-build v0.75. Also fixed visibility which had accidentally been turned off.
Monty Taylor [Wed, 2 Dec 2009 04:43:41 +0000 (20:43 -0800)] 
pandora-build v0.75. Also fixed visibility which had accidentally been turned off.

14 years agoMade the byteorder test use standard endian test AC_C_BIGENDIAN.
Monty Taylor [Wed, 2 Dec 2009 03:09:57 +0000 (21:09 -0600)] 
Made the byteorder test use standard endian test AC_C_BIGENDIAN.

14 years agopandora-build v0.74
Monty Taylor [Wed, 2 Dec 2009 02:57:53 +0000 (20:57 -0600)] 
pandora-build v0.74

14 years agoMade the new memslap code build. Moved config.h include to the beginning of each...
Monty Taylor [Wed, 2 Dec 2009 02:31:27 +0000 (20:31 -0600)] 
Made the new memslap code build. Moved config.h include to the beginning of each .c file (where it should be). Renamed ms_settings_t to ms_settings_st.

14 years agoUncrustify
Jake Moilanen [Mon, 30 Nov 2009 16:43:20 +0000 (10:43 -0600)] 
Uncrustify

14 years agoMerge from Mikki
Brian Aker [Fri, 27 Nov 2009 22:05:12 +0000 (14:05 -0800)] 
Merge from Mikki

14 years agoCoding style changes. Moved the srandom to memcached_behavior_set instead of doing...
Mikko Koppanen [Fri, 27 Nov 2009 19:46:16 +0000 (19:46 +0000)] 
Coding style changes. Moved the srandom to memcached_behavior_set instead of doing it on every call. Added documentation

14 years agoAdded test for randomized reads
Mikko Koppanen [Fri, 27 Nov 2009 17:05:51 +0000 (17:05 +0000)] 
Added test for randomized reads

14 years agoAdded randomized read behavior
Mikko Koppanen [Fri, 27 Nov 2009 10:40:32 +0000 (10:40 +0000)] 
Added randomized read behavior

14 years agoAdding behaviors interface to C++ interface
Brian Aker [Fri, 27 Nov 2009 02:03:55 +0000 (18:03 -0800)] 
Adding behaviors interface to C++ interface

14 years agoUpdated tests to use new macro (less assert()).
Brian Aker [Wed, 25 Nov 2009 08:21:57 +0000 (00:21 -0800)] 
Updated tests to use new macro (less assert()).

14 years agoSchooner memslap changes
Jake Moilanen [Tue, 24 Nov 2009 21:07:40 +0000 (15:07 -0600)] 
Schooner memslap changes

14 years agoAdded get/set behavior functions to the C++ interface. Added a test to exercise the...
mike tsai [Thu, 19 Nov 2009 22:46:49 +0000 (14:46 -0800)] 
Added get/set behavior functions to the C++ interface. Added a test to exercise the new change

14 years agoRemove historical bootstrap script
Brian Aker [Tue, 17 Nov 2009 20:16:49 +0000 (12:16 -0800)] 
Remove historical bootstrap script

14 years agoRemove symbolic link (caused bzr branch to fail on Windows)
Trond Norbye [Mon, 16 Nov 2009 20:17:41 +0000 (21:17 +0100)] 
Remove symbolic link (caused bzr branch to fail on Windows)

14 years agoFix make dist issue 0.35
Brian Aker [Tue, 10 Nov 2009 03:57:08 +0000 (19:57 -0800)] 
Fix make dist issue

14 years agoUpdating for 0.35 release.
Brian Aker [Mon, 9 Nov 2009 19:19:38 +0000 (11:19 -0800)] 
Updating for 0.35 release.

14 years agoMerging support for by_key operations.
Brian Aker [Sat, 7 Nov 2009 02:36:32 +0000 (18:36 -0800)] 
Merging support for by_key operations.

14 years ago* Rename: s/by_key_with_initial/with_initial_by_key
Adam Thomason [Sat, 7 Nov 2009 01:50:53 +0000 (17:50 -0800)] 
* Rename: s/by_key_with_initial/with_initial_by_key
* Include separate test for each function
* Change type of offset to uint64_t for increment_by_key and decrement_by_key
* Change type of offset to uint64_t for memcached_auto; also use PRIu64 format in it for sprintf

14 years agoAdd master-key versions of incr and decr commands
Adam Thomason [Sat, 7 Nov 2009 01:07:34 +0000 (17:07 -0800)] 
Add master-key versions of incr and decr commands

14 years agoUpdate for support of mget in memslap.
Brian Aker [Fri, 6 Nov 2009 11:26:01 +0000 (03:26 -0800)] 
Update for support of mget in memslap.

14 years agoAdd mget as a test to memslap
Trond Norbye [Fri, 6 Nov 2009 10:04:53 +0000 (11:04 +0100)] 
Add mget as a test to memslap

14 years agoProtocol interface should be an enum and not a uint64_t for type safety
Trond Norbye [Fri, 6 Nov 2009 08:38:54 +0000 (09:38 +0100)] 
Protocol interface should be an enum and not a uint64_t for type safety

14 years agoMerge bug fix by Trond.
Brian Aker [Thu, 5 Nov 2009 17:09:15 +0000 (09:09 -0800)] 
Merge bug fix by Trond.

14 years agoCompatible Spymemcached support in ketama
Brian Aker [Tue, 3 Nov 2009 20:18:09 +0000 (12:18 -0800)] 
Compatible Spymemcached support in ketama

14 years agoAdded MEMCACHED_BEHAVIOR_KETAMA_COMPAT_MODE
Trond Norbye [Tue, 3 Nov 2009 13:09:13 +0000 (14:09 +0100)] 
Added MEMCACHED_BEHAVIOR_KETAMA_COMPAT_MODE

14 years agoMerge from Mike Tsai
Trond Norbye [Tue, 3 Nov 2009 09:21:32 +0000 (10:21 +0100)] 
Merge from Mike Tsai

14 years agoBug 463297: Deferred deletes doesn't work on a 1.4.x server
Trond Norbye [Thu, 29 Oct 2009 15:36:27 +0000 (16:36 +0100)] 
Bug 463297: Deferred deletes doesn't work on a 1.4.x server

14 years agoNULL commit
Brian Aker [Sun, 25 Oct 2009 02:46:28 +0000 (19:46 -0700)] 
NULL commit

14 years agoTrond's fix for Mark's build issue
Brian Aker [Sun, 25 Oct 2009 02:46:10 +0000 (19:46 -0700)] 
Trond's fix for Mark's build issue

14 years agoMerge Trond
Brian Aker [Sun, 25 Oct 2009 02:31:14 +0000 (19:31 -0700)] 
Merge Trond

14 years agoBug 458834: Fixed unintended fallthrough from OPT_ADD
Trond Norbye [Fri, 23 Oct 2009 07:18:54 +0000 (09:18 +0200)] 
Bug 458834: Fixed unintended fallthrough from OPT_ADD

14 years agoMerging changes from trunk
mike tsai [Thu, 22 Oct 2009 23:05:00 +0000 (16:05 -0700)] 
Merging changes from trunk

14 years agoAdded a new test called output_ketama_weighted_keys. It prints the hashing result
mike tsai [Thu, 22 Oct 2009 22:53:58 +0000 (15:53 -0700)] 
Added a new test called output_ketama_weighted_keys. It prints the hashing result
for hashing keys 0-9999 and outputs a file called ketama_keys.test.

We can then use this file to test ketama hashing in other libraries like spymemcached.
With a new class I just checked in called KetamaKeysTest (must download source from github).

javac -cp target/classes src/test/manual/net/spy/memcached/test/KetamaKeysTest.java
java -cp target/test/classes:target/classes:src/test/manual net.spy.memcached.test.KetamaKeysTest > ketama_keys.txt

To test the ketama hashing is working the same for both libraries, I ran this command:

$ cmp ketama_keys.txt /sandbox/b-server-3-4/srcroot/svr/import/common/java/java-memcached-client/ketama_keys.txt

14 years agoUpdate from Padraig, one additional valgrind warning I found cleaned up
Brian Aker [Wed, 21 Oct 2009 00:01:00 +0000 (17:01 -0700)] 
Update from Padraig, one additional valgrind warning I found cleaned up

14 years agoUpdated the C++ interface example to print out statistics that are retrieved
Padraig O'Sullivan [Tue, 20 Oct 2009 18:16:41 +0000 (14:16 -0400)] 
Updated the C++ interface example to print out statistics that are retrieved
using the getStats() method.

14 years agoAdded some doxygen comments for the getStats() method.
Padraig O'Sullivan [Tue, 20 Oct 2009 18:08:40 +0000 (14:08 -0400)] 
Added some doxygen comments for the getStats() method.

14 years agoAdded an initial version of getStats() to the C++ interface.
Padraig O'Sullivan [Tue, 20 Oct 2009 18:07:07 +0000 (14:07 -0400)] 
Added an initial version of getStats() to the C++ interface.

14 years agoFreed memory after a call to memcached_fetch
Padraig O'Sullivan [Tue, 20 Oct 2009 17:41:00 +0000 (13:41 -0400)] 
Freed memory after a call to memcached_fetch

14 years agoMade sure memory was freed after call to memcached_get_by_key.
Padraig O'Sullivan [Tue, 20 Oct 2009 17:39:42 +0000 (13:39 -0400)] 
Made sure memory was freed after call to memcached_get_by_key.

14 years agoMade sure memory was freed after calling memcached_get.
Padraig O'Sullivan [Tue, 20 Oct 2009 17:38:53 +0000 (13:38 -0400)] 
Made sure memory was freed after calling memcached_get.

14 years agoMerge from trunk.
Padraig O'Sullivan [Tue, 20 Oct 2009 17:23:50 +0000 (13:23 -0400)] 
Merge from trunk.