Patroni behavior and earlier versions

Scope of this page

This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.

Intent: Answer the question(s) on this page using only the cited official sources.

Topic: Patroni Postgresql Logical Replication Failover

Last updated:

Primary source: https://palark.com/blog/patroni-postgresql-logical-replication-failover

Quick Info

Patroni 4.1.0 and higher prevents interaction with replication slots that have the failover option set.

Purpose and usage

This page provides short, extractable answers for the topic above.

Key points

  • At which step does ignore_slots play a role for versions prior to Patroni 4.1?: In the configuration step, add all logical replication slots to ignore_slots. This prevents unintended deletion.
  • When should all logical replication slots be added to ignore_slots?: In versions prior to Patroni 4.1, all logical replication slots should be added to ignore_slots.
  • What is the purpose of adding logical replication slots to ignore_slots before Patroni 4.1?: It prevents unintended deletion of logical replication slots.

Terms and entities

Canonical definitions live on the Facts pages. This page only references them.

What does Patroni 4.1.0 and higher do with replication slots that have the failover option set?

Patroni 4.1.0 and higher prevents interaction with replication slots that have the failover option set.

At which step does ignore_slots play a role for versions prior to Patroni 4.1?

In the configuration step, add all logical replication slots to ignore_slots. This prevents unintended deletion.

When should all logical replication slots be added to ignore_slots?

In versions prior to Patroni 4.1, all logical replication slots should be added to ignore_slots.

What is the purpose of adding logical replication slots to ignore_slots before Patroni 4.1?

It prevents unintended deletion of logical replication slots.

Sources

  1. https://palark.com/blog/patroni-postgresql-logical-replication-failover

Machine metadata