Date | Commit message (Collapse) |
|
Not sure how or why I missed these with commit 4e0f8155a62711ae
("fix indentation warnings with ruby trunk"), but this cleans
them up.
|
|
This test bug was exposed due to using an old
MogileFS-Server without
commit d0ee2a27253ade4b50ef5b91471f4f520a67bf8c
("Work with DBD::SQLite's latest lock errors")
|
|
IO.copy_stream behaves slightly differently when operating on
non-IO-subclassed objects nowadays.
Ref:
> * io.c (copy_stream_body): use the arguments without conversion if
> having read, readpartial, and write methods, than conversion by
> to_path method. [ruby-core:68676] [Bug #11015]
|
|
This should make it easier to fully test on machines without
access to an existing MogileFS instance. You'll still
need mogilefsd and mogstored available, however, but these
tests are skipped on machines without them.
|
|
In single tracker configurations, a restarted tracker may cause
send()/write() failure on the TCP socket. Retry immediately in
this case, since there's no danger even for non-idempotent
tracker requests.
|
|
IO.copy_stream does not raise EOFError when specified
copy length is less than input size. Thus we must rely
on the MogileFS tracker to validate the input size.
|
|
We now have separate Net::HTTP::Persistent instances
between clients that may have different timeouts and
also between GET and PUT requests. This hurts our
ability to reuse sockets, but correctness is probably
more important.
|
|
Less noise should be better.
|
|
This lets us send unsupported/new arguments to plugins
and matches the functionality of the Perl client library.
|
|
This allows clients to avoid calling #file_info or #get_uris
immediate after uploading a file to MogileFS. This can speed
things up for cache-using clients with write-through caching.
|
|
This feature uses the "set_weight" command to change
device weights and has a part of the MogileFS protocol
for many years, now.
|
|
Specifying an invalid domain will raise
MogileFS::Backend::UnregDomain error instead of merely
returning `false'. Only checks for keys in the correct
domain (but non-existent keys) return false.
|
|
list_keys needs to raise UnregDomainError on invalid domains.
This regression was introduced in
commit 0b933fc83b8b519c8e587caa6606dd372dda18af
|
|
|
|
We'll support alternate mogstored setups...
|
|
Ruby isn't Perl, Ruby won't automatically coerce between
Strings and numeric types (Integer and Floats)
|
|
Currently a no-op in MogileFS 2.55, but it was useful at one
point in the past and may be in the future.
|
|
|
|
We need to support plugins in the nearish future
|
|
classids can get recycled, it seems.
|
|
|
|
We'll need to setup a fresh MogileFS instance for some tests.
|