From: Michael Paquier <michael@paquier.xyz>
To: Dave Peticolas <dave@krondo.com>
Cc: Alexander Kukushkin <cyberdemn@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: WAL replay issue from 9.6.8 to 9.6.10
Date: Wed, 29 Aug 2018 13:50:03 -0700
Message-ID: <20180829205003.GD5903@paquier.xyz> (raw)
In-Reply-To: <CAPRbp07+YXvxY674FcmQVaJnJ=B+12JuAkNG+pkLf0Ph6oZgCw@mail.gmail.com>
References: <CAPRbp06PWuV=NETrb_fDXatbTNJvS-v4L2MQwAn-u38Eipvg6g@mail.gmail.com>
<CAFh8B=mXuDCw3A8mcgAMaFyEhKy-ecyK966piK-vHdMs2mSPFA@mail.gmail.com>
<20180829115412.GB5903@paquier.xyz>
<CAPRbp07+YXvxY674FcmQVaJnJ=B+12JuAkNG+pkLf0Ph6oZgCw@mail.gmail.com>
On Wed, Aug 29, 2018 at 09:15:29AM -0700, Dave Peticolas wrote:
> Oh, perhaps I do, depending on what you mean by worker. There are a couple
> of periodic processes that connect to the server to obtain metrics. Is that
> what is triggering this issue? In my case I could probably suspend them
> until the replay has reached the desired point.
That would be it. How do you decide when those begin to run and connect
to Postgres. Do you use pg_isready or similar in a loop for sanity
checks?
> I have noticed this behavior in the past but prior to 9.6.10 restarting the
> server would fix the issue. And the replay always seemed to reach a point
> past which the problem would not re-occur.
You are picking my interest here. Did you actually see the same
problem? In 9.6.10 what happens is that I have tightened the consistent
point checks and logic so as inconsistent page issues would actually
show up when they should, and that those become reproducible so as we
can track down any rogue WAL record or inconsistent behavior.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, dave@krondo.com, cyberdemn@gmail.com
Subject: Re: WAL replay issue from 9.6.8 to 9.6.10
In-Reply-To: <20180829205003.GD5903@paquier.xyz>
References: <CAPRbp06PWuV=NETrb_fDXatbTNJvS-v4L2MQwAn-u38Eipvg6g@mail.gmail.com> <CAFh8B=mXuDCw3A8mcgAMaFyEhKy-ecyK966piK-vHdMs2mSPFA@mail.gmail.com> <20180829115412.GB5903@paquier.xyz> <CAPRbp07+YXvxY674FcmQVaJnJ=B+12JuAkNG+pkLf0Ph6oZgCw@mail.gmail.com> <20180829205003.GD5903@paquier.xyz>
* 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