More tests for consistent.
[m6w6/libmemcached] / ChangeLog
1 * New consistent distribution tests.
2 * Found a memory leak when a server constantly fails.
3 * Changed default timeout to 1 second for poll timeouts
4 * Wheel uses less memory/dynamic allocation for size (no longer limited to
5 512 hosts by default.
6 * memslap memory leak fix
7 * Added Ketama distribution
8 * Fix assert.h compile problem on CentOS
9
10 0.19 Wed Apr 9 09:30:53 PDT 2008
11 * Documentation fix in libmemcached.
12 * Fixed bug where sort was always occuring on hosts
13 * Logic fix in branch prediction (thanks Jay!)
14 * Read through cached support.
15 * Fixed for cas by key operation.
16 * Fix for memcached_server_st list structures to have correct count.
17 * Added callback MEMCACHED_CALLBACK_DELETE_TRIGGER
18 * Removed function call in favor of macro (aka cut out some instructions)
19
20
21 0.18 Sun Mar 16 21:57:55 PDT 2008
22 * Fix plus tests for non-zero value objects and flags.
23 * MEMCACHED_HASH_MURMUR added for murmur algorithm provided.
24 * MEMCACHED_BEHAVIOR_RETRY_TIMEOUT added to keep connecting from looping
25 on timeout.
26 * gcc branch prediction optimizations
27 * Refactored entire tree to make include files cleaner
28 * Fixed leaked socket.
29
30 0.17 Wed Feb 27 03:33:29 PST 2008
31 * MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT added for connect timeout in
32 non-block mode.
33 * Incompatible change in memcached_behavior_set() api. We now use a
34 uint64_t, instead of a pointer.
35 * Fix for storage of values for zero.
36 * memcached_server_cursor() function added to API for cycling through servers.
37
38 0.16 Mon Feb 18 00:30:25 PST 2008
39 * Work on the UDP protocol
40 * Added get_by_key, set_by_key tests for C++ API
41 * Fix for limit_maxbytes to be 64bit in stats
42 * Added Atom Smasher test (scale baby, scale!)
43 * Servers are now sorted, meaning that servers are now ordered so that
44 clients with the same lists, will have same distribution. (Idea from
45 Ross McFarland). MEMCACHED_BEHAVIOR_SORT_HOSTS was added to enable
46 this support.
47 * Added MEMCACHED_BAD_KEY_PROVIDED error for auto, set, and get operations.
48 MEMCACHED_BEHAVIOR_VERIFY_KEY was added to enable this feature.
49 * More error messages on command line tools.
50 * Fixed bugs in memcached_cas() operator.
51 * Fix to loop through interfaces
52
53 0.15 Tue Jan 29 14:55:44 PST 2008
54 * More work on the C++ API.
55 * Bug fixes around block corner cases.
56 * Slight performance increase in both read() and write().
57
58 0.14 Tue Jan 22 06:21:49 PST 2008
59 * For for bug found by Evan Weaver where increment() was not returning
60 propper error of value was not found.
61 * Fix for bad null pointer on flag by Toru Maesaka.
62 * Refactor of all IO to just pass in the active server
63 * Problem configuring (PKG_CHECK_MODULES) fixed by removal of "rpath" in
64 support/libmemcached.pc.in (Thanks to Ross McFarland).
65 * Added memcached_callback_get()/set()
66 * First prototype of C++ interface
67 * Updated docs for uint16_t changes in previous release
68
69 0.13 Sun Jan 13 06:51:50 PST 2008
70 * MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
71 * Fix for failure to connect to invalidate socket.
72 * Patch from Marc Rossi to add --hash option for memcp, memrm, and memcat.
73 * Kevin's patch for fixing EOF issues during a read.
74 * Toru Maesaka patch for stats mismatch
75 * Fix for when CRC return 0
76 * Fixed uint16_t issues around flags. Turns out the documentation on the
77 protocol was wrong.
78 * Lingering socket fixes for FreeBSD.
79 * Patches from Kevin Dalley for FreeBSD 4.0
80 * Added multi delete functions.
81 * All get key returns have C style null termination
82 * If memcached_server_list_append is passed NULLs instead of pointers it
83 returns NULL.
84 * Added memcached_fetch_execute() method
85 * Found a bug where memcached_fetch() was not null terminating the result
86 value.
87 * memcached_behavior() now has the ability to set "buffering" so that
88 data is not automatically flushed.
89 * Behavior change, buffered commands now return MEMCACHED_BUFFERED
90
91 0.12 Tue Dec 11 15:20:55 PST 2007
92 * Updates for consistent hashing
93 * IPV6 support
94 * Static allocation for hostname (performance)
95 * Fixed bug where in non-block mode all data might not have been sent on
96 close().
97 * Refactor of memcached_get() to use common code.
98 * Change in value fetch, MEMCACHED_END is now returned when keys are no
99 longer in the pipe.
100 * Fixed bug where key could be out of range of characters
101 * Added _by_key() methods to allow partitioning of values to particular
102 servers.
103 * MEMCACHED_DEFAILT_TIMEOUT is now set to a non -1 value.
104 * Performance improvements in get operations.
105
106 0.11 Mon Nov 26 01:05:52 PST 2007
107 * Added option to memcache_behavior_set() so that poll() can be timed out.
108 * Fixed memory leak in case of using memcached_fetch_result() where no
109 value was returned.
110 * Bug fixed in memcached_connect() which would cause servers that
111 did not need to be enabled to be enabled (performance issue).
112 * Rewrote bounds checking code for get calls.
113 * "make test" now starts its own memcached servers.
114 * Added Hseih hash (MEMCACHED_HASH_HSIEH), which is showing about 7%
115 performance over standard hash.
116
117 0.10 Tue Nov 20 23:22:31 PST 2007
118 * Added append binary test.
119 * Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS behavior so that you can save on
120 multiple DNS lookups.
121 * Added CAS support, though this is optional and must be enabled during
122 runtime.
123 * Added the utility memerror to create human readable error strings
124 from memcached errors (aka convert ints to strings)
125 * Fixed type in MEMCACHED_HOST_LOOKUP_FAILURE
126 * Fixed bug where hostname might not be null terminated
127 * Moved to using gethostbyname_r() on Linux to solve thread safety issue
128 * Added -rpath support for pkg-config
129 * Documentation fix for hash setting using memcached_behavior_set()
130
131 0.9 Thu Nov 15 07:44:00 PST 2007
132 * fix for when no servers are definied.
133 * different buffers are now kept for different connections to
134 speed up async efforts
135 * Modified increment/decrement functions to return uint64_t values
136 * Fixed bug in cases where zero length keys were provided
137 * Thread cleanup issue in memslap
138 * No hostname lookup on reconnect
139 * Fix for flag settings (was doing hex by accident!)
140 * Support for 1.2.4 server additions "prepend" and "append" added.
141 * Added memcached_version()... not sure if I will make this public
142 or not.
143
144 0.8 Mon Nov 5 10:40:41 PST 2007
145 * Adding support for CRC hash method
146 * Adding support for UNIX sockets
147 * Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
148 * Added pkgconfig support (PKG_CHECK_MODULES)
149 * Fixed conflict with defined type in MySQL
150 * Added memcached_result_st structure and functions to manipulate it.
151
152 0.7 Tue Oct 30 09:24:05 PDT 2007
153 * Poved to poll() from select()
154 * Fixes in internal string class for allocation of large numbers of
155 strings.
156 * memcached_mget() function now sends keys as it parses them instead of
157 building strings as it goes.
158 * Propper flush now for making sure we get all IO sent even when in
159 non-block mode.
160 * Added --enable-debug rule for configure
161 * All asserts() removed (hey this is going into production!)
162
163
164 0.6 Wed Oct 17 08:41:35 PDT 2007
165 * get value returns are now null terminated (request by Cal Heldenbrand)
166 * Fixed connections for more hosts then two.
167 * Rewrite of the read/write IO systems to handle different sorts of host
168 failures.
169 * Added man pages for all functions and tools
170 * Raised buffer size for readinng/writing to 16K
171 * You can now optionally set the socket size for recv/send via
172 memached_behavior_set/get.
173
174 0.5 Tue Oct 9 00:22:25 PDT 2007
175 * Ruby maintainer mentioned TCP_NODELAY patch he had added. Added this to C
176 library as well. (Eric Hodel drbrain@segment7.net)
177 * Added support script for set_benchmark
178 * Updated memslap to allow testing of TCP_NODELAY
179 * Updated memslap to support --flush (aka dump memcache servers before
180 testing)
181 * Fixed bug in multiple hosts not being activated
182 * Added environmental variable MEMCACHED_SERVERS which can be used to
183 set the servers list.
184 * fixed memcached_stat method (and now memstat works)
185 * server connect now happens on demand.
186 * Help for all command line applications
187
188 0.4 Wed Oct 3 10:28:50 PDT 2007
189 * Added buffered IO to write calls for keys
190 * Added buffered IO for reads
191 * memstat was broken (bad if/else on connect)
192 * New non-blocking IO (not default yet). Mucho faster
193 * Refactor of test system.
194 * memslap crash solved
195
196 0.3 Mon Oct 1 06:37:52 PDT 2007
197 * Jeff Fisher <guppy@techmonkeys.org> provided a spec file
198 * Added "make rpm" around dist file
199 * Added support for Solaris
200 * Added support for DTrace
201 * Fixed read to be recv and write to be send
202 * Bug fix where memstat would core if no server was found
203 * Added memslap tool (load generator)
204 * Numerous bug fixes in library
205 * Added calls to library for creating host lists (see
206 text cases to understand how to use this).
207
208 0.2 Thu Sep 27 03:46:57 PDT 2007
209 * First public version
210