[Box Backup-dev] ProtocolUncertainStream error
Chris Wilson
boxbackup-dev@boxbackup.org
Sun, 10 Aug 2008 20:39:09 +0100 (BST)
Hi Pete,
On Fri, 8 Aug 2008, Peter Jalajas, GigaLock Backup Services wrote:
> Just thinking out loud, is there an easy way to, at least temporarily or
> off trunk, put in a little code just before line 50 in
> ./lib/common/FileStream.cpp to check the file, and if not ready yet,
> wait an increasing number of milliseconds and try again, and if not yet
> ready, loop again, for a maximum delay of, what, a few seconds? Does
> that make any sense?
Amazon makes no guarantees about how long it might take for the change to
propagate, so this would probably just be guesswork. The Jungle Disk
author in his reply to you seemed to say that the file would never appear
if reopened before being closed the first time.
One thing we could do is to host this difftemp file on a completely
different filesystem, as it is after all just a temporary file.
> Separately, since it seems to always be hanging on this one file, can
> you think of a way to clear out that one file somehow? I tried deleting
> the file with .rfwX but I don't think that helped.
Why does it need to be cleared out?
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 |