Stopping Postgres will crash PuppetDB
Closed this issue · 2 comments
austb commented
Describe the Bug
Introduced with 53b2a37 (affecting PuppetDB 8.6.0), stopping the Postgres database will cause PuppetDB to shutdown several seconds later.
2024-07-17 13:40:02,427 WARN [pool-3-thread-2] [p.p.jdbc] Caught exception. Last attempt, throwing exception.
2024-07-17 13:40:02,427 ERROR [pool-3-thread-2] [p.p.c.services] Unable to read schema version: PDBReadPool - Connection is not available, request timed out after 3000ms.
2024-07-17 13:40:02,430 INFO [main] [p.t.internal] Beginning shutdown sequence
Expected Behavior
Failing to connect to Postgres should not trigger a shutdown.
Steps to Reproduce
Start PuppetDB, get past maintenance mode, stop Postgres.
github-actions commented
Migrated issue to PDB-5771