Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com>
Cc: kuroda(dot)hayato(at)fujitsu(dot)com, Zhihong Yu <zyu(at)yugabyte(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.
Date: 2021-03-24 09:36:14
Message-ID: a89892ae-2c23-f744-c806-22de74fde292@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/03/23 15:50, Fujii Masao wrote:
> + * The statistics collector is started by the postmaster as soon as the
> + * startup subprocess finishes.
>
> This comment needs to be updated? Because the stats collector can
> be invoked when the startup process sends PMSIGNAL_BEGIN_HOT_STANDBY
> signal.

I updated this comment in the patch.
Attached is the updated version of the patch.

Barring any objection, I'm thinking to commit this patch.

Regards,

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

Attachment Content-Type Size
v7-0001-pgstat_avoid_writing_on_sigquit.patch text/plain 9.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2021-03-24 09:36:47 Re: make the stats collector shutdown without writing the statsfiles if the immediate shutdown is requested.
Previous Message Justin Pryzby 2021-03-24 09:19:49 Re: [HACKERS] Custom compression methods