Re: Add Information during standby recovery conflicts - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Add Information during standby recovery conflicts
Date
Msg-id 20210108.111712.1465719681094712823.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Add Information during standby recovery conflicts  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Add Information during standby recovery conflicts
List pgsql-hackers
At Fri, 8 Jan 2021 01:32:11 +0900, Fujii Masao <masao.fujii@oss.nttdata.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.

LGTM other than the above.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: "Hou, Zhijie"
Date:
Subject: RE: Single transaction in the tablesync worker?
Next
From: Michael Paquier
Date:
Subject: Re: Incorrect allocation handling for cryptohash functions with OpenSSL