[Box Backup-dev] ProtocolUncertainStream error
Chris Wilson
boxbackup-dev@fluffy.co.uk
Sat, 9 Aug 2008 15:18:35 +0100 (BST)
Hi Pete,
On Thu, 7 Aug 2008, Peter Jalajas, GigaLock Backup Services wrote:
> I tried s3fs first (cuz it is open-source), but it couldn't keep up at
> all. So I broke down and bought jungledisk plus.
>
> What's disappointing, and hopefully instructive, is that it worked
> perfectly for hours and hours with about 40 GB of data flying in via a
> FiOS line at 1.2Mbps. Do maybe I have 1 bad file that I need to
> manipulate or delete or something?
I think diffing against existing files is completely broken on Jungle
Disks because of this behaviour.
> I'll also submit a ticket to jungledisk pointing to the box backup
> code that's failing:
I don't think that will tell him anything. The relevant code, if it means
anything at all to him, is at:
http://www.boxbackup.org/trac/browser/box/trunk/bin/bbstored/BackupStoreContext.cpp
around line 470, where it open the file twice, the first time creating it
(and keeping it open) and the second time for reading.
If he decides not to change this behaviour of Jungle Disk, then we'd have
to rewrite this algorithm.
Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |