Re: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE

From: 王海洋 <wanghaiyang(dot)001(at)bytedance(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE
Date: 2022-08-04 10:26:57
Message-ID: CACciXACqJBkVAhj5pobKfgqGnYmqRu13YntFuuO8hZNLxYV=Yw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks, I agree. So my new modified patch is attached.

From: "Kyotaro Horiguchi"<horikyota(dot)ntt(at)gmail(dot)com>
Date: Thu, Aug 4, 2022, 16:12
Subject: [External] Re: [PATCH] BUG FIX: inconsistent page found in
BRIN_REGULAR_PAGE
To: <wanghaiyang(dot)001(at)bytedance(dot)com>
Cc: <pgsql-bugs(at)lists(dot)postgresql(dot)org>
I'd like to explain a bit further. At Thu, 04 Aug 2022 16:55:35 +0900
(JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)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

Attachment Content-Type Size
0001-mask-un-logged-hint-bit-BRIN_EVACUATE_PAGE-before-co.patch application/octet-stream 1.7 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Francisco Olarte 2022-08-04 10:27:04 Re: ERROR: unterminated dollar-quoted string at or near "$$"
Previous Message houzj.fnst@fujitsu.com 2022-08-04 09:29:50 RE: No-op updates with partitioning and logical replication started failing in version 13