Research · High impact
Sajish Krishnan: I killed the primary 30 times. Patroni at defaults lost acknowledged writes twice.
The Brief
- The author killed the primary 30 times per system and measured failover from the client side.
- The gap between the last acknowledged write and the next one was measured for each failover.
- At shipped defaults, Patroni with PostgreSQL lost acknowledged writes twice in those 30 primary kills.
Why it matters
If the reported results hold, teams running Patroni at default settings can lose writes that clients were told were committed, so failover behaviour should be checked against their own durability needs.
Who’s affected
- Teams running Patroni with PostgreSQL at default settings
- #postgresql
- #patroni
- #high-availability
- #failover
- #data-loss
- #benchmarking
TL;DR. I killed the primary 30 times per system and measured failover from the client: the gap between the last acknowledged write and the next one, and whether acknowledged writes survived. At shipped defaults, PostgreSQL with Patroni kept the client waiting a median 22.38…