Re: Stuck cvs lock on anoncvs repository - Mailing list pgsql-www

From Stefan Kaltenbrunner
Subject Re: Stuck cvs lock on anoncvs repository
Date
Msg-id 4A472888.7090301@kaltenbrunner.cc
Whole thread Raw
In response to Re: Stuck cvs lock on anoncvs repository  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Stuck cvs lock on anoncvs repository  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-www
Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Sat, Jun 27, 2009 at 8:09 PM, Marc G. Fournier<scrappy@hub.org> wrote:
>>> More often then when ppl commit?  What would be the point to that?
> 
>> Well, the whole point of using rsync is that it only copies what has
>> changed, so there is very little overhead involved in running it when
>> nothing has changed.
> 
> This is kind of missing the point, which is that we are talking about
> blowing away lockfiles.  Having that happen frequently and automatically
> doesn't sound like a particularly good idea.
> 
> One thing I'm wondering is why cvs is taking out locks at all, since
> it's certainly not committing to the repository.  I guess even a "cvs
> update" locks things momentarily, but can we prevent that?

the problem is that we transferred the locks from cvs.postgresql.org to 
anoncvs.postgresql.org which confused cvs running on anoncvs.
The system as set up is by default triggered by somebody commiting - 
however there is also a cronjob that does one forced sync every day.
The forced sync ran concurrently with marcs tagging of 8.4.0 and caused 
some lockdirectories to get synced over to anoncvs.
I think that simply excluding those lock directories is enough to fix 
this for our purpose.


Stefan


pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Stuck cvs lock on anoncvs repository
Next
From: Dave Page
Date:
Subject: Re: Stuck cvs lock on anoncvs repository