Re: Patroni, slots, and expiring WALs

From: Jeremy Smith <jeremy(at)musicsmith(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Patroni, slots, and expiring WALs
Date: 2023-03-28 15:07:04
Message-ID: CAM8SmLXosgrN6taOP5R72NE-rUCrNdL4euMUcPysxnmxpj1EHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 28, 2023 at 10:55 AM Peter J. Holzer <hjp-pgsql(at)hjp(dot)at> wrote:

>
>
> The configuration includes `use_slots: true` and I can see a slot in
> pg_replication_slots on the leader.
>
> I was under the impression that this would be sufficient to prevent WALs
> from being deleted on the leader before they are used on the replica.
>

Is max_slot_wal_keep_size set to something other than -1 on the leader?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2023-03-28 15:08:09 Re: Cluster table based on grand parent?
Previous Message Peter J. Holzer 2023-03-28 14:55:08 Patroni, slots, and expiring WALs