[MERGE] Packs. Kthxbye.
John Arbash Meinel
john at arbash-meinel.com
Fri Oct 19 17:08:24 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
...
>
>> + # XXX: should rename each index too rather than just uploading blind
>> + # under the chosen name.
>>
>> Well, you're using put_file which I think does upload and then rename. Is more
>> than that needed?
>
> Yes, we should upload them all to temp names, then rename them all, so
> that a link failure during upload - the largest time window - is least
> likely to leave some files in place.
>
Sounds like a good place to use put*_non_atomic.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHGNZ4JdeBCYSNAAMRAlZOAKCHMiroI2421T34+q4rlFSop8zUqQCaApRd
szWLTEfbUaUgdRYF4xilB84=
=8736
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list