Failover Client Hardening

Make applications survive a database failover in seconds, not minutes, by fixing the client side. Test first: force a real failover (RDS reboot with failover, Patroni switchover) under steady load, record time to first success per service and set the target below it. Then work the causes in order: pinned or cached addresses, half-open pooled connections, no validation on borrow or max lifetime, writes reaching the demoted node, retries replaying non-idempotent writes. Fix, repeat the test, keep the number. Use for "the app stayed down after the RDS failover", "read-only transaction errors after promotion", "connections hang after Patroni switchover", "how long should failover take for clients". Not for exhaustion and reconnect herds (connection-storm-recovery), a stall with no failover (lock-queue-triage), server promotion and fencing (db-replication).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit a79d839c3f

Frequently asked questions

npx get-skill add greenblacked/failover-client-hardening