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

In-Memory SQLite database drops data for unknown reasons #568

Closed
adzialocha opened this issue Sep 19, 2023 · 2 comments · Fixed by #595
Closed

In-Memory SQLite database drops data for unknown reasons #568

adzialocha opened this issue Sep 19, 2023 · 2 comments · Fixed by #595
Labels
bug Something isn't working

Comments

@adzialocha
Copy link
Member

adzialocha commented Sep 19, 2023

I've observed this a couple of times now where my longer running node with in-memory SQLite database failed with:

Error occured during `EntryStorage` request in storage provider: error returned from database: (code: 1) no such table: entries

My assumption is that other processes (other programs using in-memory database, like fishy or other aquadoggo instances) wipe / amend the database but not sure.

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

Still not sure why SQLite behaves like this. It might need a similar fix as we already have for our test environment (in-memory databases where each one receives a random id)

@adzialocha
Copy link
Member Author

adzialocha commented Nov 16, 2023

Related issue: launchbadge/sqlx#2510

@adzialocha adzialocha changed the title In-Memory SQLite database is shared among all aquadoggo processes In-Memory SQLite database drops data for unknown reasons Nov 16, 2023
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

Successfully merging a pull request may close this issue.

1 participant