Re: reftable: new ref storage format
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 16, 2017, 08:07 UTC
- Message-ID
- <4dbe06d0-9a65-7bf5-eb82-6371d9ad7e9b@kdbg.org>
- In-Reply-To
- <20170714200830.iks5drqu72cypkny@sigill.intra.peff.net>
Am 14.07.2017 um 22:08 schrieb Jeff King:
> The implementation on this doesn't seem overly complex. My main concerns > are what we're asking from the filesystem in terms of atomicity, and > what possible races there are.
One of the failure modes is that on Windows a file cannot be deleted while it is open in any process. It can happen that a compacting updater wants to remove a reftable file that is still open in a reader.
-- Hannes