Ensure atomic database operations #315
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#315
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The database layer currently doesn't really bother with checking whether it's receiving requests concurrently. However, with the addition of a server-agent architecture, the server could start receiving a lot more requests, making a collision more likely.
This should be as easy as making the
vieterDb.connfield shared and locking it for operations.According to the SQLite docs, this already happens by default if not specified.