Mogilefs-client 3.1.0 released

A MogileFS client library for Ruby. MogileFS is an open source
distributed filesystem, see: http://mogilefs.org for more details. This
library allows any Ruby application to read, write and delete files in a
MogileFS instance.

To install: gem install mogilefs-client

mogilefs :: http://mogilefs.org/
list :: [email protected]
email :: [email protected]
repo :: git://bogomips.org/mogilefs-client.git
cgit :: http://bogomips.org/mogilefs-client.git
gitweb :: http://repo.or.cz/w/ruby-mogilefs-client.git

Changes:

  • improved API support for uploading large files
    While we’ve always supported uploading large files, the
    (still-supported) existing APIs were somewhat awkward or
    required the file to exist on the file system. See
    MogileFS::NewFile for details and examples.

  • more informative exception messages for timed-out requests

  • :fail_timeout parameter, the timeout for retrying a failed
    tracker connection. This defaults to 5 seconds (same as
    previous versions where this was hard-coded.

  • :new_file_max_time parameter
    Controls the maximum of time spent creating and uploading
    a new file in MogileFS. This defaults to 1 hour (which
    matching the expiry time of a row in the MogileFS internal
    tempfile table).

  • store_file works on unlinked File/Tempfile objects

  • each_fid method in MogileFS::Admin fixed

  • stale_fid_checker example script added

  • mogstored_rack example split into a standalone RubyGem:
    http://bogomips.org/mogstored_rack/

  • backend error constants are generated on const_missing,
    instead of when raised, making it easier to rescue exceptions
    we didn’t explicitly enable

  • some internal cleanups and documentation improvements

Feedback (bug reports, user/development discussion, patches, pull
requests) are greatly appreciated and handled via email. We currently
piggy-back onto the public MogileFS
{mailing list}[mailto:[email protected]] for feedback.

If you do not want to deal with the corporate host of the MogileFS
mailing list, or if you wish to keep your issue secret, feel free to
email {Eric W. at}[mailto:[email protected]].

Do not expect Eric W. to read HTML mail under any circumstances.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs