pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Avinash Kumar <avinash.vallarapu@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Postgres crashes at memcopy() after upgrade to PG 13.
Date: Tue, 16 Mar 2021 14:08:11 -0400
Message-ID: <3377078.1615918091@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-WzmtLcUZXvcaKxAU9yfJQzsUm9srkGn9Rx716FMfM7zJ+w@mail.gmail.com>
References: <CAN0Tujd2u-fCkodVuc2CV2C+CT6wjT3oP+HzZnyTCDMHB5niOw@mail.gmail.com>
	<CA+hUKGJHBMB+mMxxhR7LbhEjKUeqV5gUx5PDB-P5ti_Rx6sOvg@mail.gmail.com>
	<CAN0Tujc1vxaHgXVeykFuTayTZECEKLinaazryD2ECxi1DTdVVA@mail.gmail.com>
	<CAN0Tujd29OOE3HRLfBuGZgiXOFdD3HhUSySvELgJP=MW4t3mBw@mail.gmail.com>
	<CA+hUKG+kaswjxn8+v5DuR5rCrGYGmKLyiqAXgX94wGEQhz333g@mail.gmail.com>
	<CAN0TujcAbH2BE95ecUhtb3gsW_kRNA=zDN3D8k+AOwZXRgaLHw@mail.gmail.com>
	<CAH2-WznahyQuiqv0d5SaZORZTzCpJfWpvLUuKnkdLhnuJYgwYg@mail.gmail.com>
	<CAN0TujePV8Q=Kzgp2Dg5H4k8H3P++XOgWQotC9ECrNBHAB21ww@mail.gmail.com>
	<CAH2-WzkNYx1GLRMEiqYM=tnLFb5XbmbxVgkQyDe1s+izTUPhQQ@mail.gmail.com>
	<CAN0TujfgV09uVhe49ONVX+Y-HdMBORixRx19biizirhz10bJ5A@mail.gmail.com>
	<CAN0Tujdxtrsewp_T=SiETSgmh6Dw1kUwjK=hHRxGOdj=T-B_pQ@mail.gmail.com>
	<CAH2-WzmtLcUZXvcaKxAU9yfJQzsUm9srkGn9Rx716FMfM7zJ+w@mail.gmail.com>

Peter Geoghegan <pg@bowt.ie> writes:
> ... It's hard to believe that the problem is
> squarely with _bt_swap_posting().

IIUC, the problem is seen on a replica server but not the primary?
In that case, my thoughts would run towards a bug in WAL log creation
or replay, causing the index contents to be different/wrong on the
replica.

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <3377078.1615918091@sss.pgh.pa.us>
Permalink:  ../3377078.1615918091@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3377078.1615918091@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@bowt.ie, avinash.vallarapu@gmail.com, thomas.munro@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Postgres crashes at memcopy() after upgrade to PG 13.
  In-Reply-To: <3377078.1615918091@sss.pgh.pa.us>
  References: <CAN0Tujd2u-fCkodVuc2CV2C+CT6wjT3oP+HzZnyTCDMHB5niOw@mail.gmail.com> <CA+hUKGJHBMB+mMxxhR7LbhEjKUeqV5gUx5PDB-P5ti_Rx6sOvg@mail.gmail.com> <CAN0Tujc1vxaHgXVeykFuTayTZECEKLinaazryD2ECxi1DTdVVA@mail.gmail.com> <CAN0Tujd29OOE3HRLfBuGZgiXOFdD3HhUSySvELgJP=MW4t3mBw@mail.gmail.com> <CA+hUKG+kaswjxn8+v5DuR5rCrGYGmKLyiqAXgX94wGEQhz333g@mail.gmail.com> <CAN0TujcAbH2BE95ecUhtb3gsW_kRNA=zDN3D8k+AOwZXRgaLHw@mail.gmail.com> <CAH2-WznahyQuiqv0d5SaZORZTzCpJfWpvLUuKnkdLhnuJYgwYg@mail.gmail.com> <CAN0TujePV8Q=Kzgp2Dg5H4k8H3P++XOgWQotC9ECrNBHAB21ww@mail.gmail.com> <CAH2-WzkNYx1GLRMEiqYM=tnLFb5XbmbxVgkQyDe1s+izTUPhQQ@mail.gmail.com> <CAN0TujfgV09uVhe49ONVX+Y-HdMBORixRx19biizirhz10bJ5A@mail.gmail.com> <CAN0Tujdxtrsewp_T=SiETSgmh6Dw1kUwjK=hHRxGOdj=T-B_pQ@mail.gmail.com> <CAH2-WzmtLcUZXvcaKxAU9yfJQzsUm9srkGn9Rx716FMfM7zJ+w@mail.gmail.com> <3377078.1615918091@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox