Re: Possible race in UnlockBuffers() and UnpinBuffer()

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Possible race in UnlockBuffers() and UnpinBuffer()
Дата
Msg-id e1pn4s$1pj8$1@news.hub.org
обсуждение исходный текст
Ответ на Possible race in UnlockBuffers() and UnpinBuffer()  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Possible race in UnlockBuffers() and UnpinBuffer()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> wrote
> "Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> > After this, the proc->sem will be bumped to 1 unexpectedly ... Since
this
> > problem is rare, a possible fix is to put a critical section around line
1
> > to 7 and remove UnlockBuffers() accordingly.
>
> No, that would make any attempt to control-C a VACUUM have a significant
> probability for panicking the whole database.
>

Why panicking by control-C? Is that critical section can prevent any signal
processing?

Regards,
Qingqing




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

Предыдущее
От: markir@paradise.net.nz
Дата:
Сообщение: Re: Is full_page_writes=off safe in conjunction with PITR?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Possible race in UnlockBuffers() and UnpinBuffer()