Re: Stuck cvs lock on anoncvs repository

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: Stuck cvs lock on anoncvs repository
Дата
Msg-id 4A472888.7090301@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: Stuck cvs lock on anoncvs repository  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Stuck cvs lock on anoncvs repository  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Stuck cvs lock on anoncvs repository
Следующее
От: Dave Page
Дата:
Сообщение: Re: Stuck cvs lock on anoncvs repository