From: Date: Wed, 13 May 2009 15:06:24 +0000 (-0700) Subject: Updates for 0.29 release X-Git-Tag: 0.29 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4d322a2998a3d0fbc378f53914904d8fc9b7047c;p=m6w6%2Flibmemcached Updates for 0.29 release --- diff --git a/ChangeLog b/ChangeLog index 49aa276a..63bec518 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ -0.29 +0.29 Wed May 13 08:06:05 PDT 2009 + * All code warnings now treated as errors. + * Fixes for debian packaging. * Added new pooling mechanism. - * MEMCACHED_BEHAVIOR_NO_BLOCK no longer also sets MEMCACHED_BEHAVIOR_BUFFER_REQUESTS - * Updated generic rpm + * MEMCACHED_BEHAVIOR_NO_BLOCK no longer also sets MEMCACHED_BEHAVIOR_BUFFER_REQUESTS. + * Updated generic rpm. 0.28 Tue Apr 14 18:56:28 PDT 2009 * Fixed bug in init sructure (reapplied) diff --git a/README b/README index 91590bde..cda967a5 100644 --- a/README +++ b/README @@ -11,9 +11,7 @@ memstat - Dump the stats of your servers to standard output memslap - Load generation utility (benchmark!) The utilities are beta quality at this point. The library is in production -in many locations (upwards to 600 nodes). For networks of more then 512 -hosts using consistent hashing, you must update the target WHEEL size for -number of hosts * 4 in libmemcached/memcached_constants.h. +in many locations (upwards to 1000+ nodes). Want to contribute? If you write more then three good patches, then I will just ask you to commit directly to the tree. I am happy to have additional @@ -21,13 +19,14 @@ people work on this project. Please checkout README.FIRST. You will need a C99 compiler in order to compile this library. Currently we actively support Linux, MacOSX, FreeBSD, and Solaris. A Windows port is -currently not supported. +currently not supported, but one is listed on the homepage that is supported +by someone in the community. If you are looking for answers to your questions please check out the mailing list at: http://lists.tangent.org/ -Subscribe to the libmemcached mailing list found there. +Subscription information for the libmemcached mailing list can be found there. Cheers, -Brian Aker diff --git a/THANKS b/THANKS index 9221e3a6..971b6320 100644 --- a/THANKS +++ b/THANKS @@ -1,3 +1,4 @@ +(This is not complete, please send email if I have missed someone.) Eirik A. Nygaard - IO Patch Cal Heldenbrand - Awesome feedback on performance Dustin Sallings - Insight into protocol @@ -10,3 +11,4 @@ Patrick Galbraith - work on C++ interface Ross McFarland - Idea for sorting servers. Marcelo Fernandez - TCP/IP timeout pieces Yin Chen - Ketama support/weighted support +Monty Taylor - Debian Packages, Cleanup work for configure diff --git a/tests/output.res b/tests/output.res index ccdeef01..bfb54fbc 100644 --- a/tests/output.res +++ b/tests/output.res @@ -39,6 +39,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -73,6 +74,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -107,6 +109,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -141,6 +144,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -175,6 +179,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -209,6 +214,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -243,6 +249,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -277,6 +284,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -311,6 +319,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -345,6 +354,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -379,6 +389,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -413,6 +424,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -447,6 +459,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -481,6 +494,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -515,6 +529,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -549,6 +564,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -583,6 +599,7 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT +Error 34 -> SERVER IS MARKED DEAD Error 0 -> SUCCESS Error 1 -> FAILURE Error 2 -> HOSTNAME LOOKUP FAILURE @@ -617,98 +634,14 @@ Error 30 -> A TIMEOUT OCCURRED Error 31 -> ACTION QUEUED Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT -Error 0 -> SUCCESS -Error 1 -> FAILURE -Error 2 -> HOSTNAME LOOKUP FAILURE -Error 3 -> CONNECTION FAILURE -Error 4 -> CONNECTION BIND FAILURE -Error 5 -> WRITE FAILURE -Error 6 -> READ FAILURE -Error 7 -> UNKNOWN READ FAILURE -Error 8 -> PROTOCOL ERROR -Error 9 -> CLIENT ERROR -Error 10 -> SERVER ERROR -Error 11 -> CONNECTION SOCKET CREATE FAILURE -Error 12 -> CONNECTION DATA EXISTS -Error 13 -> CONNECTION DATA DOES NOT EXIST -Error 14 -> NOT STORED -Error 15 -> STORED -Error 16 -> NOT FOUND -Error 17 -> MEMORY ALLOCATION FAILURE -Error 18 -> PARTIAL READ -Error 19 -> SOME ERRORS WERE REPORTED -Error 20 -> NO SERVERS DEFINED -Error 21 -> SERVER END -Error 22 -> SERVER DELETE -Error 23 -> SERVER VALUE -Error 24 -> STAT VALUE -Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT OPEN UNIX SOCKET -Error 27 -> ACTION NOT SUPPORTED -Error 28 -> A KEY LENGTH OF ZERO WAS PROVIDED -Error 29 -> FETCH WAS NOT COMPLETED -Error 30 -> A TIMEOUT OCCURRED -Error 31 -> ACTION QUEUED -Error 32 -> A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE -Error 33 -> THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 +Error 34 -> SERVER IS MARKED DEAD -server 0|localhost|11221 bytes: 1106784 +server 0|localhost|11221 bytes: 2651938 -server 1|localhost|11222 bytes: 965601 +server 1|localhost|11222 bytes: 2772996 -server 2|localhost|11223 bytes: 1307502 +server 2|localhost|11223 bytes: 3305941 -server 3|localhost|11224 bytes: 1240596 +server 3|localhost|11224 bytes: 3426764 -server 4|localhost|11225 bytes: 1049517 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|6666|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 -ketama_weighted:localhost|11221|1|160 -ketama_weighted:localhost|11222|1|160 -ketama_weighted:localhost|11223|1|160 -ketama_weighted:localhost|11224|1|160 -ketama_weighted:localhost|11225|1|160 +server 4|localhost|11225 bytes: 2795684