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

SQLite interruption seem to put Corrosion in a bad state #53

Open
jeromegn opened this issue Sep 18, 2023 · 1 comment
Open

SQLite interruption seem to put Corrosion in a bad state #53

jeromegn opened this issue Sep 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jeromegn
Copy link
Member

There's a 30s timeout for releasing a checked in write SQLite connection. This is to prevent any one write query from blocking every other.

The way this is enforced is by interrupting the connection if it is not returned to the pool within the allotted time.

Somehow, this does not work very well and a restart is usually (not thoroughly tested) required for operations to resume properly.

Investigating why this happens and fixing it would be ideal.

@jeromegn jeromegn added the bug Something isn't working label Sep 18, 2023
@jeromegn
Copy link
Member Author

For now, interruptions have been disabled. It is the responsibility of the clients to not create abnormally slow / large transactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant