Self-test
Check your understanding
Self-test7 questions
Why does the Postgres 18 image need its volume mounted at /var/lib/postgresql instead of /var/lib/postgresql/data?
Why does changing POSTGRES_PASSWORD after the first start do nothing?
In compose_prod.yaml, why do applications connect to PgBouncer, and how does PgBouncer reach whichever node is primary?
Why did new replicas take up to five minutes to appear before
checkpoint: fastwas set?Why did pgBackRest refuse to archive WAL after the cluster was rebuilt, and why is that refusal a good thing?
You changed
ttlin thebootstrap.dcssection of patroni.yml and restarted every node. Why didn't anything change, and what should you have done?- Design question
List three ways this one-laptop cluster falls short of production HA, and what each would need.