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

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, lizenko79(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17073: docs - "Improve signal handling reliability"
Date: 2021-07-01 01:52:43
Message-ID: 700ef6dd-177f-5fb6-7cc6-2df66fedc365@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2021/07/01 10:17, David G. Johnston wrote:
> On Wed, Jun 30, 2021 at 5:54 PM Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com <mailto:masao(dot)fujii(at)oss(dot)nttdata(dot)com>> wrote:
>
> On 2021/06/29 10:02, Bruce Momjian wrote:
> > On Fri, Jun 25, 2021 at 02:11:57AM +0000, PG Bug reporting form wrote:
> >> The following bug has been logged on the website:
> >>
> >> Bug reference:      17073
> >> Logged by:          Andrey Lizenko
> >> Email address: lizenko79(at)gmail(dot)com <mailto:lizenko79(at)gmail(dot)com>
> >> PostgreSQL version: 14beta2
> >> Operating system:   any
> >> Description:
> >>
> >> Looks like description was missed or corrupted for the following release
> >> note:
> >> https://www.postgresql.org/docs/14/release-14.html <https://www.postgresql.org/docs/14/release-14.html>
> >>
> >> Improve signal handling reliability (Fujii Masao)
> >> GENERAL ENOUGH?
> >
> > It means I am not clear if this text is accurate or needs improvement.
>
> Since this explains the commit 2945a488a, it's better to describe
> something like the following?
>
>      Make the standby handle signal promptly.
>
>      Previously there was the case where the standby could not promptly
>      handle the signal like shutdown request received while waiting on
>      wal_retrieve_retry_interval.
>
>
> The wording still needs some work...but is this even release note worthy?

This change is not so user-visible, so I have no strong opinion about
whether to list this in the release note.

> We forget to check for interrupts before sleeping in an otherwise busy-wait loop.  We corrected the oversight.
>
> Otherwise, "The standby startup process now promptly handles interrupts."
>
> 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, you're right.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2021-07-01 01:57:17 Re: BUG #17073: docs - "Improve signal handling reliability"
Previous Message David G. Johnston 2021-07-01 01:17:15 Re: BUG #17073: docs - "Improve signal handling reliability"