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

No reconnect logic #41

Open
skynetcap opened this issue Sep 13, 2022 · 0 comments
Open

No reconnect logic #41

skynetcap opened this issue Sep 13, 2022 · 0 comments

Comments

@skynetcap
Copy link
Contributor

skynetcap commented Sep 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant