Re: standby promotion can create unreadable WAL

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: dilipbalaut(at)gmail(dot)com
Cc: robertmhaas(at)gmail(dot)com, alvherre(at)alvh(dot)no-ip(dot)org, pgsql-hackers(at)postgresql(dot)org, andres(at)anarazel(dot)de
Subject: Re: standby promotion can create unreadable WAL
Date: 2022-08-29 04:21:17
Message-ID: 20220829.132117.2167509040928696829.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Mon, 29 Aug 2022 13:13:52 +0900 (JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in
> we return it to the caller. Is it worth to do a small refactoring
> like the attached? If no, I'm fine with the proposed patch including
> the added assertion.

Mmm. That seems wrong. So forget about that. The proposed patch looks
fine to me.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2022-08-29 04:25:50 Re: use ARM intrinsics in pg_lfind32() where available
Previous Message Kyotaro Horiguchi 2022-08-29 04:13:52 Re: standby promotion can create unreadable WAL