Knits vs Weaves
Martin Pool
mbp at sourcefrog.net
Sun Feb 19 22:11:16 GMT 2006
> Yes, the binary knit contents are append-only. I don't know whether the
> current implementation does append operations. The indices use atomic
> replacement.
Yes, it does do an append operation, and patches the transport to add this.
Robert and I wanted to change precisely how this happens to something like:
transport.open_append('foo').write(more_data)
(finally close block omitted)
Although append is atomic on unix fs it's not guaranteed to be so on all
transports, so this still needs to be guarded by a lock.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060220/c2ce80a2/attachment.pgp
More information about the bazaar
mailing list