Conflict with recovery on PG version 11.6

From: Toomas Kristin <toomas(dot)kristin(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Conflict with recovery on PG version 11.6
Date: 2020-06-17 05:42:52
Message-ID: 5726DC60-FA11-494F-AC0C-D418DDCC895F@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Javi Legido 2020-06-17 09:06:00 Logical replication
Previous Message Tom Lane 2020-06-16 22:20:59 Re: Clarification on Expression indexes