Re: BUG #17073: docs - "Improve signal handling reliability"

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #17073: docs - "Improve signal handling reliability"
Дата
Msg-id 202107010157.z24ttolwr55g@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #17073: docs - "Improve signal handling reliability"  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: BUG #17073: docs - "Improve signal handling reliability"  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Re: BUG #17073: docs - "Improve signal handling reliability"  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
On 2021-Jun-30, David G. Johnston wrote:

> On Wed, Jun 30, 2021 at 5:54 PM Fujii Masao <masao.fujii@oss.nttdata.com>
> wrote:

> > Since this explains the commit 2945a488a, it's better to describe
> > something like the following?

> The wording still needs some work...but is this even release note worthy?
> 
> We forget to check for interrupts before sleeping in an otherwise busy-wait
> loop.  We corrected the oversight.

Yeah, it's a good question.  I wonder if this should be back-patched, so
it'd be noted as a bugfix in the next set of minors rather than as a new
feature for 14.

(It's not a busy-wait loop, just a sleep, unless I misunderstand.)

> Most of what I'm reading says this only impacted the startup of the standby
> process; normal operations already worked correctly.  Is that correct?

Yes, because the change is in WaitForWALToBecomeAvailable().

-- 
Álvaro Herrera              Valdivia, Chile  —  https://www.EnterpriseDB.com/
"Right now the sectors on the hard disk run clockwise, but I heard a rumor that
you can squeeze 0.2% more throughput by running them counterclockwise.
It's worth the effort. Recommended."  (Gerry Pourwelle)



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #17073: docs - "Improve signal handling reliability"
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #17073: docs - "Improve signal handling reliability"