-
Notifications
You must be signed in to change notification settings - Fork 107
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
No reconnect logic #41
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had this plugin feeding into a Postgres, and then overnight it stopped working, and my log was filled with:
[2022-09-13T15:27:51.193907033Z ERROR solana_geyser_plugin_postgres::postgres_client] Failed to update account: (Error updating account. Error message: (Failed to persist the update of account to the PostgreSQL database. Error: Error { kind: Closed, cause: None }))
So either Postgres killed the connection, or this did. Either way, it failed to reconnect. Postgres was up and running, and I am forced to restart the entire validator process to reconnect.
Solution: Add auto-reconnect logic if a connection gets closed.
The text was updated successfully, but these errors were encountered: