Re: corruption of WAL page header is never reported
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: masao.fujii@oss.nttdata.com
Cc: alvherre@alvh.no-ip.org, nagata@sraoss.co.jp, ranier.vf@gmail.com,
pgsql-hackers@postgresql.org
Date: 2021-10-05T01:58:39Z
Lists: pgsql-hackers
At Tue, 5 Oct 2021 00:59:46 +0900, Fujii Masao <masao.fujii@oss.nttdata.com> wrote in > I think that it's better to comment why "retry" is not necessary > when not in standby mode. > > ------------------- > When not in standby mode, an invalid page header should cause recovery > to end, not retry reading the page, so we don't need to validate the > page > header here for the retry. Instead, ReadPageInternal() is responsible > for > the validation. LGTM. regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Make recovery report error message when invalid page header is found.
- 7b03d3a3ba45 12.17 landed
- 5dc093eacef1 13.13 landed
- 2f13e8d9ec28 14.10 landed
- 68601985e699 15.0 landed
-
Fix scenario where streaming standby gets stuck at a continuation record.
- 066871980183 11.0 cited