[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] Re: CVS on savannah
From: |
Andrew Haley |
Subject: |
[Savannah-hackers] Re: CVS on savannah |
Date: |
Mon, 5 Jan 2004 10:31:19 +0000 |
Andrew Walrond writes:
> On Sunday 04 Jan 2004 8:13 pm, Rudy Gevaert wrote:
> > I have set up a cron job that synchronizes the Savannah GCC repositroy
> > with the repository on gcc.gnu.org
> >
> > This is done once an hour with rsync.
> >
> > http://savannah.gnu.org/cgi-bin/viewcvs/gcc/#dirlist
>
> Is this done in a way which ensures consistency? Is it safe to access the
> mirror repository while the rsync is in progress? What happens if a checkin
> is in progress on the parent repo while rsyncing the mirror?
It isn't possible to do this consistently, because CVS commits are not
atomic. It is always possible for a developer to check out an
inconsistent repository.
> There was some considerable discussion on the lkml a while back
> about rsynced mirrors of cvs repos. It concluded that extra steps
> were required to make the mirrored repo consistent/useful.
> Otherwise it was a case of fingers crossed, touch wood, turn around
> 3 times and...
Yeah. On the other hand, people have been using mirrored CVS
repositories for many years.
Andrew.
[Savannah-hackers] Re: CVS on savannah, Andrew Pinski, 2004/01/05
[Savannah-hackers] Re: CVS on savannah, Gerald Pfeifer, 2004/01/05