From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Patroni, slots, and expiring WALs
Date: Tue, 28 Mar 2023 17:53:42 +0200
Message-ID: <20230328155342.gmn33twufrwc7r65@hjp.at> (raw)
In-Reply-To: <20230328152727.uvu66yb5myvibglm@hjp.at>
References: <20230328145508.g6kl3sek6ycijvsg@hjp.at>
<CAFh8B=nf_Xgc-YaLE3vo=T6c9OqcnMJNa-stMh8R_jofeopidQ@mail.gmail.com>
<20230328152727.uvu66yb5myvibglm@hjp.at>
On 2023-03-28 17:27:27 +0200, Peter J. Holzer wrote:
> On 2023-03-28 17:08:38 +0200, Alexander Kukushkin wrote:
> > The second option - you can put all member names into permanent slots
> > configuration (using patronictl edit-config):
> > slots:
> > nodename1:
> > type: physical
> > nodename2:
> > type: physical
> > nodename3:
> > type: physical
> >
> > This way slots representing these members will not be removed.
>
> That seems to work (at least the slot didn't disappear within a few
> minutes). I'll do some more testing.
Works nicely. Thanks!
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
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: hjp-pgsql@hjp.at
Subject: Re: Patroni, slots, and expiring WALs
In-Reply-To: <20230328155342.gmn33twufrwc7r65@hjp.at>
References: <20230328145508.g6kl3sek6ycijvsg@hjp.at> <CAFh8B=nf_Xgc-YaLE3vo=T6c9OqcnMJNa-stMh8R_jofeopidQ@mail.gmail.com> <20230328152727.uvu66yb5myvibglm@hjp.at> <20230328155342.gmn33twufrwc7r65@hjp.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