pg_replica 0.3.0

Consensus-driven failover for PostgreSQL (Raft control plane)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# TODO

[] ...

## Explicitly out of scope for open source

- mTLS on the Raft transport (https://github.com/rustls/rustls); authn for SQL control functions.
- Metrics (Prometheus) + structured logs
- Sharding / write scale-out (that's Citus).
- Backups / PITR (use pgBackRest / wal-g).
- Logical or multi-master replication.

## Validation targets

- Raft consensus node loss acceptance with automatic failover with 0 messages lost.
- Quorum-sync mode: **zero** committed-transaction loss across induced failovers.
- A newly created role/DDL on the primary is present on a freshly promoted node.
- Resident memory overhead of the bgworker: single-digit MB beyond Postgres.