about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-31 07:11:32 +0000
committerEric Wong <e@80x24.org>2016-08-31 07:31:45 +0000
commitf8ebe8de94c9288caa1096f8fb02eed62a1b770d (patch)
tree99f2bddf4ea161823cba739d46eb0948966b2a12
parent6e7274278619b8e6405ad890f528f729b70cc54b (diff)
downloadmogilefs-client-f8ebe8de94c9288caa1096f8fb02eed62a1b770d.tar.gz
A bunch of minor tweaks to reduce garbage and exceptions.

In addition to the existing :timeout and :fail_timeout options,
there is a new :connect_timeout directive for all connection
classes which only controls the time spent waiting for a TCP
connection.  This defaults to the same value as the existing
:timeout option (3 seconds); but users are advised to lower
it to match ideal network conditions.

For users of Ruby 2.3+, this release takes advantage of
exception-less Socket#connect_nonblock using "exception: false".
Users of Ruby 2.1+ will also benefit from "exception: false"
usage for read_nonblock and write_nonblock calls.
kgio is no longer be useful with this release with Ruby 2.3+

This release also fixes a Ruby 1.8.7 compatibility bug for
non-kgio users.  However, this may be the last 1.8.7-compatible
release.  Fwiw, I wanted to remove Ruby 1.8 support around 5
years ago but several users were against it.   Maybe nobody will
complain, this time...

18 changes since 3.9.0:

      doc: avoid inadvertantly documenting the Process class
      admin: simplify utilization conversion
      more idiomatic comparisons with constants
      bigfile/filter: only update MD5 if non-nil
      bigfile: lazily require bigfile/filter
      backend: simplify regexp
      .olddoc.yml: add NNTP and mailing list archive URL
      minor garbage reductions for newer Rubies
      socket/pure_ruby: fix Ruby 1.8 compatibility
      socket/pure_ruby: use `:exception=>false' on Ruby 2.1+
      test_fresh: do not delete non-existent domain
      admin: map unset reject_bad_md5 field to nil
      socket/pure_ruby: connect with "exception:false" on Ruby 2.3+
      implement :connect_timeout option
      add .gitattributes for Ruby method detection
      README: stop mentioning cgit
      connect_timeout: match :timeout if unset
      pkg.mk: use --local option for gem installation
-rwxr-xr-xGIT-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index e1a3a2b..75342b6 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -2,7 +2,7 @@
 CONSTANT = "MogileFS::VERSION"
 RVF = "lib/mogilefs/version.rb"
 GVF = "GIT-VERSION-FILE"
-DEF_VER = "v3.9.0"
+DEF_VER = "v3.10.0"
 vn = DEF_VER
 
 # First see if there is a version file (included in release tarballs),