[Box Backup-dev] ProtocolUncertainStream error

Chris Wilson boxbackup-dev at fluffy.co.uk
Sat Aug 9 08:17:18 BST 2008


Hi Pete,

On Thu, 7 Aug 2008, Peter Jalajas, GigaLock Backup Services wrote:

> The jungledisk developer wrote back:
> 
> "The caching system in Jungle Disk should ensure that delayed 
> prorogation doesn't have any effect. So long as the file is closed 
> before you attempt to re-open it, it should work fine. Note that if you 
> attempt to open it before closing it won't find the file."

That explains it. We do open the file twice without closing it the first 
time.

> Is there a line or two of code that we can add to 
> ./lib/common/FileStream.cpp to address his point?

Unfortunately this is required by the way that the diffing algorithm 
works. I think it will require some major work to rewrite it not to do 
this.

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 |



More information about the Boxbackup-dev mailing list