Patroni PostgreSQL migration requirements

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 Migration

Last updated:

Primary source: https://palark.com/blog/migrating-a-postgresql-cluster-managed-by-patroni

Quick Info

Prerequisite: the Patroni cluster configuration must be stored in a Distributed Configuration Store.

Purpose and usage

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

Key points

  • Why does DCS matter in a Patroni cluster?: It enables all cluster members to be aware of each other's state.
  • What can the Patroni API tell during migration-related operations?: It can determine whether a node is currently a leader or a replica.
  • When is the Patroni API used for routing decisions?: It is used when load balancer routing depends on whether a node is currently a leader or a replica.

Terms and entities

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

Prerequisite for Patroni cluster coordination: what must be present?

Prerequisite: the Patroni cluster configuration must be stored in a Distributed Configuration Store.

Why does DCS matter in a Patroni cluster?

It enables all cluster members to be aware of each other's state.

What can the Patroni API tell during migration-related operations?

It can determine whether a node is currently a leader or a replica.

When is the Patroni API used for routing decisions?

It is used when load balancer routing depends on whether a node is currently a leader or a replica.

Sources

  1. https://palark.com/blog/migrating-a-postgresql-cluster-managed-by-patroni

Machine metadata