Skip to content

Conversation

@gabriel-samfira
Copy link
Member

This change adds a lock for database write operations. While we can use busy_timeout in sqlite3, there is still a chance that under high load, we still hit the "database is locked" error. The write lock ensures that no more than one write is done at any given time.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit a4e13f9 into cloudbase:release/v0.1 May 29, 2025
2 checks passed
@gabriel-samfira gabriel-samfira deleted the add-write-lock branch May 29, 2025 17:30
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

Successfully merging this pull request may close these issues.

1 participant