mogilefs-client.git  about / heads / tags
MogileFS client library for Ruby
blob a16e618c715f076b26013d0d853e2d4ed8c06cbb 3365 bytes (raw)
$ git show pu:History	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
 
This document is for historical releases.  See the auto-generated
NEWS document for the latest releases.

= 2.2.0
* internal cleanups (no public API breakage)
* refactor backend socket/connection handling for reliability

= 2.1.0
* MySQL interface returns integer length and devcount (API change)
* Ensure store_{content,file} always returns size (API fix)
* Add get_uris API method
* Respect timeout when doing get_file_data
* MySQL interface filters out URLs for down/dead hosts/devices
* Really remove all NFS support
* get_file in slurp mode slurps all output correctly

= 2.0.2
* README.txt: update documentation URL
* backend: raise exceptions with the error message
* backend: don't blindly add "Error" to exception class names
* Update Manifest.txt with setup.rb
* tasks to enforce permissions are set correctly

= 2.0.1
* verify_uris method made more robust
* preliminary Ruby 1.9 compatibility, tests still need some work
* allow store_content to be used with a streamable object of known length
* add setup.rb for non-RubyGems users

= 2.0.0
* use a set of standard exceptions based on MogileFS::Error,
  this is an incompatible API change (hence the 2.0.0 version number).
* remove NFS support since it's gone in MogileFS 2.x and NFS is horrible
* mog timeouts and retries increased
* more consistent handling of bad sockets, all sockets used internally
  are now explicitly non-blocking and IO.select is used for timeouts
  instead of using threads behind our backs
* remove open-uri and net/http dependencies, they were bad with large files
* add paths_size() method, allowing single mogilefsd call to get size and paths
* add read-only MogileFS::Mysql driver, allowing mogilefsd to be bypassed
* use TCP_NODELAY when available on sockets that require low latency
* use TCP_CORK on bulk transfers to improve bandwidth usage
* better HTTP error handling
* verify_uris method in new MogileFS::Network module which allows
  async verification of several URIs at once on the client side.
* handle multiple device failover correctly on HTTP uploads
* initial big_file read support (should be mogtool(1)-compatible)
* unit tests can be run in parallel using GNU Make, 3x faster on a Core2 Duo
* unit tests modified to use real sockets for easier verification of
  timeout and error condition handling.

= 1.3.1

* Fix missing MogileFS::Util include for sysrwloop in MogileFS::MogileFS

= 1.3.0

* Fixed MogileFS#rename.  Bug #14465 submitted by Justin Dossey.
* Removed infinite loop in MogileFS::HTTPFile#store_file.  Patch #13789
  submitted by  Andy Lo-A-Foe.
* Made MogileFS#get_file_data timeout configurable.  Bug #13490 submitted by
  Andy Lo-A-Foe.
* Add MogileFS#size.  Feature Request #14484 submitted by Justin Dossey.
* Fix MogileFS#get_file_data to return the data for HTTP mode.  Bug #7133
  submitted by John Wanko.
* New maintainer: Eric Wong
* Add `mog' command-line tool as a demo/example
* Lower memory consumption with large files
* Allow get_file_data to accept a block for large files
* Fix each_keys loop termination condition
* Apply error handling patch from Matthew Willson.  Bug #15987
* Merge large file patch from Andy Lo-A-Foe.  Bug #13764

= 1.2.1

* Switched to Hoe.
* Moved to p4.
* Fixed bug #7273 in HTTP mode of client where data would not get
  returned.  Submitted by Matthew Willson.

= 1.2.0

* Changes lost to time.

git clone https://yhbt.net/mogilefs-client.git