From 64b3335c8b41ca77395f7eb7bbd7d9b0a62bc8c7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Nov 2011 01:02:15 +0000 Subject: [PATCH] mogilefs-client 3.0.0-rc1 === client changes * "store_file" now accepts any IO object capable of streaming data (e.g. pipes and sockets). This uses chunked Transfer-Encoding for PUTs, so backend storage nodes will need to support this (latest mogstored does). * "store_file" no longer uses an infinite timeout when awaiting a response after a PUT, the new timeout for the response is now calculated based on the time and size of the PUT request. * new commands: "file_debug" and "file_info" (new commands in mogilefsd, be sure you have the latest version) * "get_paths" takes optional ":pathcount" parameter to control the number of returned paths. * "get_file_data" supports offset and count for partial transfer (requires support from storage node for Range: requests, most HTTP servers are capable of this) * IO.copy_stream is enabled by default under Ruby 1.9.3. Expect performance improvements. * "list_keys" with a passed block (for additional info) is faster due to internal pipelining implementation and the addition of "file_info" support. * fixed handling of "+" in key/domain names (old bug) * rare, truncated partial responses due to network/server failure now raise MogileFS::InvalidResponseError === admin changes Admin support is still a work-in-progress, I usually just find myself using "mogadm" anyways. * new admin commands: "replicate_now" * "get_stats" no longer works on new mogilefsd versions * get_domains handles "repl_policy" field correctly for classes in MogileFS 2.x * admin commands should convert all numeric fields to either Integer or Float objects and not String representations of numerics. Affected methods include: get_hosts, get_devices, list_fids, each_fids, get_domains === miscellany * we no longer add methods to standard Ruby classes (at least we never /changed/ existing methods :P) * {kgio}[http://bogomips.org/kgio] automatically used if available, but not required to avoid exceptions with non-blocking I/O * dropped Ruby 1.8.6 support, 1.8.7 or later is required. * Tested with MRI 1.8.7, 1.9.3 and Rubinius 1.2.4 * MogileFS::Mysql - deprecated, to be removed in 2012 * improved test suite * some optional experimental features/changes, see "git log" for details * Added internal pipelining implementation, this is not easy-to-use since the server can respond-out-of-order, but still useful for things like a list_keys+file_info loop. --- GIT-VERSION-GEN | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 4e4e941..39c9fa6 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/usr/bin/env ruby CONSTANT = "MogileFS::VERSION" RVF = "lib/mogilefs/version.rb" -DEF_VER = "v2.2.0.GIT" +DEF_VER = "v3.0.0-rc1" vn = DEF_VER # First see if there is a version file (included in release tarballs), -- 2.11.4.GIT