From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | "Drouvot, Bertrand" <bdrouvot(at)amazon(dot)com> |
Cc: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, masahiko(dot)sawada(at)2ndquadrant(dot)com, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add Information during standby recovery conflicts |
Date: | 2021-01-13 14:04:12 |
Message-ID: | CAHGQGwHZRYpAJ0=PgjOzi9q4OOCE48rUAr-gh_Zy2yPZn0Rakw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jan 8, 2021 at 2:15 PM Drouvot, Bertrand <bdrouvot(at)amazon(dot)com> wrote:
>
> Hi,
>
> On 1/8/21 5:19 AM, Fujii Masao wrote:
> >
> > On 2021/01/08 11:17, Kyotaro Horiguchi wrote:
> >> At Fri, 8 Jan 2021 01:32:11 +0900, Fujii Masao
> >> <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote in
> >>>
> >>> Attached is the updated version of the patch. This can be applied to
> >>> current master.
> >>>
> >>> With the patch, for example, if the startup process waited longer than
> >>> deadlock_timeout for the recovery conflict on the lock, the latter log
> >>> message in the followings would be additionally output.
> >>>
> >>> LOG: recovery still waiting after 1001.223 ms: recovery
> >>> conflict on
> >>> lock
> >>> LOG: recovery finished waiting after 19004.694 ms: recovery
> >>> conflict
> >>> on lock
> >>
> >> + /*
> >> + * Emit the log message if recovery conflict on
> >> buffer pin was resolved but
> >> + * the startup process waited longer than
> >> deadlock_timeout for it.
> >>
> >> The first line is beyond the 80th column.
> >
> > Thanks for pointing out this! This happened because I forgot to run
> > pgindent
> > for bufmgr.c. Attached is the updated version of the patch.
>
> The patch looks good to me.
Thanks for the review! I pushed the patch.
Regards,
--
Fujii Masao
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2021-01-13 14:14:59 | Re: Add Information during standby recovery conflicts |
Previous Message | Ashutosh Bapat | 2021-01-13 13:59:20 | Re: Alter timestamp without timezone to with timezone rewrites rows |