From: Toomas Kristin <toomas.kristin@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Conflict with recovery on PG version 11.6
Date: Wed, 17 Jun 2020 08:42:52 +0300
Message-ID: <5726DC60-FA11-494F-AC0C-D418DDCC895F@gmail.com> (raw)
Hi!
Basically after upgrade to version 11.5 from 10.6 I experience error messages on streaming replica host “FATAL: terminating connection due to conflict with recovery” and “ERROR: canceling statement due to conflict with recovery”. There is no changes for vacuuming on master nor max_standby_streaming_delay for replica. I tried to correlate errors with vacuuming process on master but according to logs there is no link between them. Somehow I have feeling that when query runs longer than value for parameter max_standby_streaming_delay the query will be terminated regardless vacuuming process on master.
Is there any changes on version 11.5 what may cause it?
Is there any good solution without setting max_standby_streaming_delay=-1 or enabling hot_standby_feedback?
BR,
Toomas
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: toomas.kristin@gmail.com
Subject: Re: Conflict with recovery on PG version 11.6
In-Reply-To: <5726DC60-FA11-494F-AC0C-D418DDCC895F@gmail.com>
References: <5726DC60-FA11-494F-AC0C-D418DDCC895F@gmail.com>
* 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