pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Cc: Siraj G <tosiraj.g@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Queries in replica are failing
Date: Wed, 29 May 2024 23:17:19 +0200
Message-ID: <9728204dee5eb1ee9dedd421146d588052761bcd.camel@cybertec.at> (raw)
In-Reply-To: <CAKDb7aFyV_079RHWga+tjb_PJ7JT31JPRGHRx6P7Bi+1wMgNiQ@mail.gmail.com>
References: <CAC5iy63x1wGXLn8ULtnuPf67o=oCLyFtxvoME4WgezYhKq2YNQ@mail.gmail.com>
	<54f2b8280802608c687e21dfe05954d34a26346f.camel@cybertec.at>
	<CAKDb7aFyV_079RHWga+tjb_PJ7JT31JPRGHRx6P7Bi+1wMgNiQ@mail.gmail.com>

On Wed, 2024-05-29 at 22:34 +0530, ROHIT SACHDEVA wrote:
> I received this error when i set  max_standby_streaming_delay to -1 and max_standby_archive_delay to 30 seconds.
> 
> The following processes were terminated on your read replica because they were interfering with the replay of transaction logs: [18218].

Ah, then you are recovering from an archive.

In that case, set "max_standby_archive_delay" to -1 as well.

Yours,
Laurenz Albe





view thread (11+ messages)  latest in thread

Message-ID: <9728204dee5eb1ee9dedd421146d588052761bcd.camel@cybertec.at>
Permalink:  ../9728204dee5eb1ee9dedd421146d588052761bcd.camel@cybertec.at/
Also on:    postgresql.org/message-id/9728204dee5eb1ee9dedd421146d588052761bcd.camel@cybertec.at

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, sachdeva.rohit648@gmail.com, tosiraj.g@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Queries in replica are failing
  In-Reply-To: <9728204dee5eb1ee9dedd421146d588052761bcd.camel@cybertec.at>

* 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