Re: Add Information during standby recovery conflicts
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: "Drouvot, Bertrand" <bdrouvot@amazon.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-11-30T17:59:15Z
Lists: pgsql-hackers
On 2020/11/20 18:17, Drouvot, Bertrand wrote: > Hi, > > On 11/17/20 4:44 PM, Fujii Masao wrote: >> >> Thanks for updating the patch! Here are review comments. >> >> + Controls whether a log message is produced when the startup process >> + is waiting longer than <varname>deadlock_timeout</varname> >> + for recovery conflicts. >> >> But a log message can be produced also when the backend is waiting >> for recovery conflict. Right? If yes, this description needs to be corrected. > > Thanks for looking at it! > > I don't think so, only the startup process should write those new log messages. > > What makes you think that would not be the case? Probably my mis-underding of the patch did that. Sorry for noise.. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Commits
-
Log long wait time on recovery conflict when it's resolved.
- 39b03690b529 14.0 landed
-
Add GUC to log long wait times on recovery conflicts.
- 0650ff23038b 14.0 landed
-
Detect the deadlocks between backends and the startup process.
- 8900b5a9d59a 14.0 cited
-
Get rid of the dedicated latch for signaling the startup process.
- ac22929a2613 14.0 cited
-
Add block information in error context of WAL REDO apply loop
- 9d0bd95fa90a 14.0 cited