pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: mustafa.pekgoz@forenda.com.tr
To: pgsql-admin@lists.postgresql.org
Subject: Re: patroni recovery_min_apply_delay parameter
Date: Tue, 08 Jun 2021 03:19:36 +0200
Message-ID: <ba637bb4c8733968729fe0bec9679618589ab4ab.camel@cybertec.at> (raw)
In-Reply-To: <008f01d75bad$938892b0$ba99b810$@forenda.com.tr>
References: <008f01d75bad$938892b0$ba99b810$@forenda.com.tr>

On Mon, 2021-06-07 at 17:58 +0300, mustafa.pekgoz@forenda.com.tr wrote:
> I have patroni cluster with 1 leader and 2 replica but I want to change recovery_min_apply_delay
>  parameter for one replica database, is it possible to change the parameter without creating another scope or DCS?
> Could you please share an example patrani yml file if it is possible

Not sure if Patroni overrides that parameter, but you could simply set that
parameter in the YAML file just like any other PostgreSQL parameter.

It might be a good idea to set "nofailover: true" for that node.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (2+ messages)

Message-ID: <ba637bb4c8733968729fe0bec9679618589ab4ab.camel@cybertec.at>
Permalink:  ../ba637bb4c8733968729fe0bec9679618589ab4ab.camel@cybertec.at/
Also on:    postgresql.org/message-id/ba637bb4c8733968729fe0bec9679618589ab4ab.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, mustafa.pekgoz@forenda.com.tr, pgsql-admin@lists.postgresql.org
  Subject: Re: patroni recovery_min_apply_delay parameter
  In-Reply-To: <ba637bb4c8733968729fe0bec9679618589ab4ab.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