Simon Binder
Simon Binder
> Should the id be in the json in the first place? Because you already have an id column? We store the data as it's received from the PowerSync service,...
I assume you've also closed the database immediately after calling `stopSyncing()`. Did you await the `stopSyncing()` call before doing that?
Sorry for the slow response. To diagnose this further, it would be good to confirm whether this appears to corrupt the database in any way (e.g. if you close the...
> I'm beginning to wonder how safe sharedIndexedDB is to multi-tab usage (we've had to move away from opfsLock because of issues the security headers were causing) That shouldn't be...
For Chrome on Android it's a problem indeed, but `sharedIndexedDb` wouldn't get chosen there, it would be `unsafeIndexedDb`. There's no reload functionality at the moment, but if you use an...
@Musta-Pollo How are you opening the database on the web?
Do you see what `result.chosenImplementation` is when the error happens?
Thanks for the investigation! Are you using `package:sqlite3` directly? In the latest version of `package:sqlite3_web`, I've added feature-detection to use `readwrite-unsafe` if it's available. That version also adds navigator locks...
> AFAICT nothing stops the VFS from continuing to hold the file open once the lock has been released We do that in `_releaseImplicitLocks()`, called at the end of some...
This is probably a drift bug, but I also don't know what's going on here. Going forward, I'll release and archive source maps for `drift_worker.js` builds so that we have...