Re: [bug fix] Stats collector is not restarted on the standby - Mailing list pgsql-hackers

From Kuntal Ghosh
Subject Re: [bug fix] Stats collector is not restarted on the standby
Date
Msg-id CAGz5QCKrf1=4A80+iugnwpOEOTnBWRQtC3R_9hKLeJpnhEHcgg@mail.gmail.com
Whole thread Raw
In response to Re: [bug fix] Stats collector is not restarted on the standby  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [bug fix] Stats collector is not restarted on the standby  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Oct 26, 2016 at 4:47 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
>
> If you test on a master node that would be the same: there is a delay
> until the stats process restart. I have not looked at the code closely
> enough in this area (reaper()?) to determine if there are ways to
> improve the responsiveness of this process restart that is a
> non-auxiliary proces btw, still improving this behavior is something I
> feel would be invasive, and something that would be dedicated to HEAD.
> The patch proposed here by Tsunakawa-san makes at least sure that a
> node in PM_HOT_STANDBY state restarts it.
Yes, you are right. Master also has some delay for restarting the
process. Otherwise, the patch solves the problem.

-- 
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [RFC] Should we fix postmaster to avoid slow shutdown?
Next
From: Amit Kapila
Date:
Subject: Re: Rename max_parallel_degree?