Re: START_REPLICATION SLOT causing a crash in an assert build

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: jcasanov(at)systemguards(dot)com(dot)ec
Cc: andres(at)anarazel(dot)de, pgsql-hackers(at)postgresql(dot)org
Subject: Re: START_REPLICATION SLOT causing a crash in an assert build
Date: 2022-09-15 08:30:11
Message-ID: 20220915.173011.1996796030245946057.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Thu, 15 Sep 2022 01:26:15 -0500, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec> wrote in
> On Tue, Sep 13, 2022 at 10:07:50PM -0500, Jaime Casanova wrote:
> > On Tue, Sep 13, 2022 at 06:48:45PM +0900, Kyotaro Horiguchi wrote:
> > >
> > > Another measure would be to add the region to wipe-out on reset to
> > > PgStat_KindInfo, but it seems too much.. (attached)
> > >
> >
> > This patch solves the problem, i didn't like the other solution because
> > as you say it partly nullify the protection of the assertion.
> >
>
> I talked too fast, while it solves the immediate problem the patch as is
> causes other crashes.

Where did the crash happen? Is it a bug introduced by it? Or does it
root to other cause?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-09-15 08:35:34 Re: Avoid use deprecated Windows Memory API
Previous Message Kyotaro Horiguchi 2022-09-15 08:22:07 Re: Switching XLog source from archive to streaming when primary available