Free Database Audit

Learn More

PostgreSQL HA lifecycle review

Stolon PostgreSQL HA services

In short: Stolon services should begin with a project-health and compatibility review. JusDB DBREs assess keeper, sentinel, proxy, cluster-store quorum, PostgreSQL replication, failover, recovery, images, and current support risk, then help teams stabilize an existing estate or plan a tested migration to a better-supported HA model.

Adoption note: the upstream README still calls Stolon active, but its latest tagged release is v0.17.0 from September 2021 and the listed PostgreSQL requirements stop at version 15. We do not present Stolon as a default greenfield recommendation without a current support assessment.

Stolon DBRE review scope

Project and release risk

Assess tagged releases, repository activity, PostgreSQL and Kubernetes support, images, dependencies, security response, and available support.

Keeper and sentinel behavior

Review cluster view, election, promotion, fencing, replication mode, synchronous settings, failure detection, and application-visible outcomes.

Proxy and client routing

Test primary routing, connection closure, retry, timeouts, DNS or service behavior, client libraries, pooling, and failover reconnection.

Cluster-store quorum

Validate etcd, Consul, or Kubernetes API availability, quorum, latency, authentication, TLS, backup, incident, and partition behavior.

PostgreSQL and recovery

Review WAL, replication, slots, timelines, backups, restore, PITR, storage, upgrades, capacity, vacuum, and DBA procedures.

Stabilize or migrate

Produce a dated risk decision, short-term controls, target alternatives, migration gates, rollback conditions, and accountable ownership.

Stolon questions

What is Stolon?

Stolon is an Apache-2.0-licensed PostgreSQL high-availability manager. Keepers manage PostgreSQL instances, sentinels compute cluster state, proxies direct client connections to the selected primary, and etcd, Consul, or the Kubernetes API can hold cluster state and coordinate election. Replication is asynchronous by default, with synchronous modes available for eligible designs.

Is Stolon actively maintained?

The upstream repository is not marked archived and its README says the project is under active development. However, the latest tagged release listed upstream is v0.17.0 from September 2021, and the README requirements stop at PostgreSQL 15. Treat maintenance, current-version compatibility, image provenance, security response, and support as explicit adoption risks.

Should we deploy Stolon for a new PostgreSQL cluster?

Not without comparing current alternatives and support requirements. A new-adoption review should assess Stolon activity, PostgreSQL and Kubernetes compatibility, images, security, operational expertise, migration paths, and vendor or community support against Patroni, repmgr, managed PostgreSQL, or other eligible designs. Existing Stolon estates may justify stabilization while a longer-term decision is made.

Does Stolon guarantee no data loss during failover?

No. Data outcome depends on PostgreSQL replication mode, synchronous settings, quorum and network behavior, the promoted standby's replay position, failure timing, and application acknowledgement semantics. Stolon uses asynchronous replication by default. We define explicit recovery-point objectives, test failure cases, and verify transaction outcomes rather than promising lossless failover.

Does stolon-proxy pool PostgreSQL connections?

No. Stolon proxy is the client access point that follows the current primary and can close connections to an old primary. It is not a transaction- or session-pooling replacement for PgBouncer. Connection volume, pooling mode, client retry behavior, failover reconnection, DNS or service discovery, and timeout behavior must be designed separately.

How do you review an existing Stolon cluster?

We inventory versions, images, keepers, sentinels, proxies, cluster-store quorum, PostgreSQL replication, synchronous settings, fencing, networking, storage, backups, restore, upgrades, observability, certificates, and runbooks. Failure tests cover process, pod, node, network, store, primary, and recovery scenarios with application-visible outcomes recorded.

How can a team migrate away from Stolon?

The path depends on PostgreSQL versions, topology, replication, extensions, storage, downtime tolerance, and target platform. Options can include building a new replica topology, logical replication, backup and restore, or an in-place control-plane transition where supported. The plan needs data validation, connection switching, rollback, failure rehearsal, and ownership handoff.

Technical review and primary sources

Stolon guidance includes an explicit project-activity check

The upstream repository is not marked archived and its README still says the project is under active development. However, the latest tagged release shown upstream is v0.17.0 from September 2021, and the README's PostgreSQL requirements stop at PostgreSQL 15. New adoption or upgrades therefore require a current maintenance, compatibility, security, image, and support assessment rather than an assumed status.

Technically reviewed by the JusDB Database Reliability Engineering team. Last reviewed: . See the team and roles.

  • Stolon repository and README

    Primary project description, architecture, stated status, requirements, integrations, and license.

  • Stolon architecture

    Official roles and interactions for keeper, sentinel, proxy, cluster view, and store.

  • Stolon releases

    Primary tagged-release history; the latest listed release is v0.17.0 from September 2021.

  • Stolon Kubernetes example

    Upstream Kubernetes example and production cautions that should be reassessed against the current platform and PostgreSQL release.