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