ClientHTTPFile

John Berthels jjberthels at gmail.com
Wed Nov 14 14:53:51 UTC 2007


Sorry for the slow reply.

On 09/11/2007, Derek Boonstra <dboonstra at veoh.com> wrote:
> I was testing the client ->new_file() option of 'largefile' as described
> in the change log below.
[snip]

> 1)
> Is it possible that ClientHTTPFile.pm may work ?

Yes it should, but it requires that the back-end store support
Content-range (partial PUT). The tests should skip with an appropriate
message if the store you test against doesn't have these features.

(edit_file won't work for you unless the back-end also supports DAV MOVE).

> 2)
> If mogstored doesn't support range puts, would installing the
> chunked-put branch of PerlBal enable the feature ?

An approach which should work is to run mogstored with an apache DAV
server. You can either use the --server=apache option or use
--server=none and run against an existing apache DAV setup. (You can
get away without running mogstored at all, but you have to play around
with usage tracking and fsck performance will be poor).

hope this helps,

jb


More information about the mogilefs mailing list