• v0.2.7 95ca10175f

    fix: destroy dead pool connections on transient errors (proper failover)
    Some checks failed
    Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 9m48s
    Promote to Production / Deploy to Production (push) Failing after 3m46s

    Ghost released this 2026-02-18 15:28:47 +01:00 | 166 commits to main since this release

    • queryWithRetry now uses explicit client checkout; on transient error,
      calls client.release(true) to DESTROY the dead connection instead of
      returning it to pool. Fresh connections are created on retry.
    • connectWithRetry validates connections with SELECT 1 before returning
    • Health check destroys bad connections on failure
    • Reduced idleTimeoutMillis from 30s to 10s for faster stale connection eviction
    • Fixes BUG-075: pool kept reusing dead TCP sockets after PgBouncer pod restart
    Downloads