Repository navigation
Document multi-process access - #702
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
|
Note: Vale and link-check CI results weren't accessible in this review environment, so spelling/terminology/link findings from those checks aren't covered here — please confirm they pass separately. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
benitav
reviewed
Oct 20, 2026
benitav
reviewed
Oct 20, 2026
Contributor
Author
|
The two links work in a local preview for me, their definition is at the bottom of the page |
benitav
approved these changes
Oct 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This documents extra considerations to be aware of when a client-side SQLite database with PowerSync is opened in multiple processes. In particular, this points out that calling
connect()for the same database is a potentially expensive mistake, that multiple writers might block each other withSQLITE_BUSYerrors and that update notifications aren't shared.This also presents solutions, starting with ways to avoid multiple processes, restrictions that make multi-process access safe and workarounds to avoid
SQLITE_BUSYerrors if multiple processes are really needed.AI use: I wrote the initial draft myself, then let Claude fix typos and restructure some things for clarity.