Skip to content
Discussion options

You must be logged in to vote

Or with OPFSCoopSyncVFS, corruptions are not really a possibility?

On principle, I would never say this! The strongest statement you'll ever get is that I'm not aware of any corruption bug in OPFSCoopSyncVFS.

Actually, I think that in the absence of known bugs, opening and closing the database on every transaction is more likely to trigger unknown bugs because there is so much less testing and usage of contention during open/close. Offhand I can't remember whether I test that at all. The chance of there being an open/close contention bug is probably significantly higher than a transaction contention bug, and you're not really avoiding transaction contention anyway.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hyperknot
Comment options

@hyperknot
Comment options

@rhashimoto
Comment options

@hyperknot
Comment options

Answer selected by hyperknot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants