gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] archive-mirror not pushing cacherevs?


From: James Blackwell
Subject: Re: [Gnu-arch-users] archive-mirror not pushing cacherevs?
Date: Sun, 11 Jan 2004 20:23:28 -0500
User-agent: Mutt/1.5.5.1+cvs20040105i

On Sun, Jan 11, 2004 at 08:17:03PM -0500, Miles Bader wrote:
> On Sun, Jan 11, 2004 at 07:50:36PM -0500, James Blackwell wrote:
> > > If file-append isn't possible, how about a directory in the root of
> > > the archive (`=cachedrevs') with an entry for each cached revision
> > > (the names could simply be the full revisions; the contents probably
> > > don't matter, but maybe they could be a checksum or something).
> > 
> > I like this, but is this race safe? 
> > 
> > Imagine Bob and Alice are working on gnupg, in a shared archive. 
> > 
> > Bob and Alice both commit at almost, but not exactly, the same time.
> > If Alice starts before Bob, but Bob finishes before Alice, then Alices
> > cacherev entry might end up missing.
> 
> I don't understand what you mean.  If the top-level `cached rev hints'
> index is based on adding files to a directory, they'll both succeed,
> whatever the order is (they know the proper revision name if the commit
> -- which is locked -- succeeds).

I misread you.  I thought you wanted one cacherev file that listed
cacherevs.

-- 
James Blackwell      Using I.T. to bring more             570-407-0488
Owner, Inframix      business to your business     http://inframix.com

GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400




reply via email to

[Prev in Thread] Current Thread [Next in Thread]