Re: Standby got invalid primary checkpoint after crashed right after promoted.

2022-03-16 Thread Kyotaro Horiguchi
(My previous mail hass crossed with this one) At Wed, 16 Mar 2022 08:21:46 +, hao harry wrote in > Found this issue is duplicated to [1], after applied that patch, I cannot > reproduce it anymore. > > [1] > https://www.postgresql.org/message-id/flat/20220316.102444.2193181487576617583.hor

Re: Standby got invalid primary checkpoint after crashed right after promoted.

2022-03-16 Thread Kyotaro Horiguchi
At Wed, 16 Mar 2022 07:16:16 +, hao harry wrote in > Hi, pgsql-hackers, > > I think I found a case that database is not recoverable, would you please > give a look? > > Here is how it happens: > > - setup primary/standby > - do a lots INSERT at primary > - create a checkpoint at primary >

Re: Standby got invalid primary checkpoint after crashed right after promoted.

2022-03-16 Thread hao harry
Found this issue is duplicated to [1], after applied that patch, I cannot reproduce it anymore. [1] https://www.postgresql.org/message-id/flat/20220316.102444.2193181487576617583.horikyota.ntt%40gmail.com