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

Unexpected error: "migrate database: sqlite: step: database is locked" #99

Closed
zombiezen opened this issue May 4, 2024 Discussed in #96 · 0 comments · Fixed by #98
Closed

Unexpected error: "migrate database: sqlite: step: database is locked" #99

zombiezen opened this issue May 4, 2024 Discussed in #96 · 0 comments · Fixed by #98
Labels
bug Something isn't working

Comments

@zombiezen
Copy link
Owner

zombiezen commented May 4, 2024

Originally discussed in #96

When using the sqlitemigration package on the same database concurrently between multiple programs, there will occasionally be an error: migrate database: sqlite: step: database is locked. This is due to use of a deferred transaction when setting the application_id.

@zombiezen zombiezen added the bug Something isn't working label May 4, 2024
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
1 participant