-
Notifications
You must be signed in to change notification settings - Fork 946
BEGIN CONCURRENT support #86
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededhigh priorityimprovementsImprovements to SQLite API or featuresImprovements to SQLite API or features
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededhigh priorityimprovementsImprovements to SQLite API or featuresImprovements to SQLite API or features
SQLite has a branch for
BEGIN CONCURRENT, which allows more than one writer: https://www.sqlite.org/cgi/src/doc/begin-concurrent/doc/begin_concurrent.mdAllowing
BEGIN CONCURRENTand traditional transactions to run at the same time is a bit tricky. If we don't coordinate between them, we can have lost updates and read skew.Lost update happens when:
Read skew happens when:
There are few options to solve this problem: