Re: BufferSync() & FlushRelationBuffers() conflict

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: BufferSync() & FlushRelationBuffers() conflict
Дата
Msg-id Pine.BSF.4.33.0103211504320.33158-100000@mobile.hub.org
обсуждение исходный текст
Ответ на BufferSync() & FlushRelationBuffers() conflict  ("Vadim Mikheev" <vmikheev@sectorbase.com>)
Ответы Re: BufferSync() & FlushRelationBuffers() conflict  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom, since you appear to be able to recreate the bug, can you comment on
this, as to whether we are okay now?

On Wed, 21 Mar 2001, Vadim Mikheev wrote:

> Just committed changes in bufmgr.c
> Regress tests passed but need more specific tests,
> as usually. Descr as in CVS:
>
> > Check bufHdr->cntxDirty and call StartBufferIO in BufferSync()
> > *before* acquiring shlock on buffer context. This way we should be
> > protected against conflicts with FlushRelationBuffers.
> > (Seems we never do excl lock and then StartBufferIO for the same
> > buffer, so there should be no deadlock here, - but we'd better
> > check this very soon).
>
> Vadim
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: RPM building (was regression on RedHat)
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Patch application