From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Korotkov <akorotkov@postgresql.org>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org, Pg Committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Check for conflicting queries during replay of gistvacuumpage()
Date: Fri, 21 Dec 2018 11:09:32 -0500
Message-ID: <26932.1545408572@sss.pgh.pa.us> (raw)
In-Reply-To: <26516.1545408037@sss.pgh.pa.us>
References: <20181221154914.bc7zjxwstf3ljqo4@alvherre.pgsql>
<26516.1545408037@sss.pgh.pa.us>
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> Hmmm, I'm fairly sure you should have bumped XLOG_PAGE_MAGIC for this
>> change. Otherwise, what is going to happen to an unpatched standby (of
>> released versions) that receives the new WAL record from a patched
>> primary?
Oh, and if the answer to your question is not "it fails with an
intelligible error about an unrecognized WAL record type", then we
need to adjust what is emitted so that that will be what happens.
Crashing, or worse silently misprocessing the record, will not do.
regards, tom lane
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, akorotkov@postgresql.org, alvherre@2ndquadrant.com
Subject: Re: pgsql: Check for conflicting queries during replay of gistvacuumpage()
In-Reply-To: <26932.1545408572@sss.pgh.pa.us>
References: <20181221154914.bc7zjxwstf3ljqo4@alvherre.pgsql> <26516.1545408037@sss.pgh.pa.us> <26932.1545408572@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