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

Can't reconnect until invalid transaction is rolled back. #205

Open
msavdert opened this issue Nov 27, 2024 · 0 comments
Open

Can't reconnect until invalid transaction is rolled back. #205

msavdert opened this issue Nov 27, 2024 · 0 comments
Labels

Comments

@msavdert
Copy link

Describe the bug

Thanks for writing this great exporter.

I can get metrics from oracle database with query-exprter without any problem.

However, when the database is restarted, I encounter the following errors. Despite the database being up and running, these errors continue to occur during each scrape, and the metric collection process stops. Problem fix after restarting the query-exporter.

Nov 27 01:40:13 ora02 query-exporter[58203]: 2024-11-27 01:40:13,620 - ERROR - query-exporter - query "oracledb_fra_stats" on database "orclgg" failed: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)

@msavdert msavdert added the bug label Nov 27, 2024
@msavdert msavdert changed the title Can't reconnect until invalid transaction is rolled back, when database is restarted. Can't reconnect until invalid transaction is rolled back. Nov 27, 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