Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping Postgres will crash PuppetDB #3991

Closed
austb opened this issue Jul 17, 2024 · 2 comments
Closed

Stopping Postgres will crash PuppetDB #3991

austb opened this issue Jul 17, 2024 · 2 comments
Labels

Comments

@austb
Copy link
Contributor

austb commented Jul 17, 2024

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.

@austb austb added the triaged label Jul 17, 2024
Copy link

Migrated issue to PDB-5771

@austb
Copy link
Contributor Author

austb commented Jul 23, 2024

Fixed in #3992

@austb austb closed this as completed Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant