problems with bzr 0.10 and paramiko sftp transfer

John Arbash Meinel john at arbash-meinel.com
Fri Sep 1 19:40:44 BST 2006


Robey Pointer wrote:
> 

...

> 
> I just reproduced this and it turns out to happen only for paramiko dev,
> not 1.6.2.
> 
> The sad news is that it's the append behavior we were hoping to optimize
> away: posix doesn't ignore an lseek() on an append-only file, and
> openssh's sftp server code always does the lseek.  I thought I'd tested
> against openssh but clearly not well enough.
> 
> John, this means I'll have to revert the optimization and paramiko will
> still have to do a round-trip to fetch the file length before appending
> to a file.  That probably makes your patches to avoid appending more
> important.
> 
> robey

okay. I had put them on hold, but now I'll wake them back up. At least
we found the problem.
It's a shame 'append' couldn't just be append. :)

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060901/a36e1b35/attachment.pgp 


More information about the bazaar mailing list