Re: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE
王海洋 <wanghaiyang.001@bytedance.com>
From: 王海洋 <wanghaiyang.001@bytedance.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2022-08-04T10:26:57Z
Lists: pgsql-bugs
Attachments
- 0001-mask-un-logged-hint-bit-BRIN_EVACUATE_PAGE-before-co.patch (application/octet-stream) patch 0001
Thanks, I agree. So my new modified patch is attached. From: "Kyotaro Horiguchi"<horikyota.ntt@gmail.com> Date: Thu, Aug 4, 2022, 16:12 Subject: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE To: <wanghaiyang.001@bytedance.com> Cc: <pgsql-bugs@lists.postgresql.org> I'd like to explain a bit further. At Thu, 04 Aug 2022 16:55:35 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in > > BRIN_EVACUATE_PAGE is an unlogged bit, which is never set during > > recovery. See brin_start_evacuating_page() for details. That being said, I think that some bug could unexpectedly set the flag during recovery. I sought for clean way to check that only while not in evacuation, but I found none.. regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Fix end LSN determination in recently added test
- 6602599ce256 16.0 landed
- 5436cb373c62 15.2 landed
-
BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking
- e797c7a6f76b 10.22 landed
- e44dae07f931 16.0 landed
- de31e6f81e84 13.8 landed
- 541f41d4fa78 14.5 landed
- 49b85e4812d7 12.12 landed
- 39e45d3ceca7 11.17 landed
- 2cff3025906c 15.0 landed