tursodatabase/libsql

Sync prevents concurrent reads?

penberg opened this issue · 0 comments

Airyland on Discord reports that:

Appears that the embedded replica's .sync function is blocking SQL queries. Is there a way to allow queries to execute concurrently with the sync process?

SQLite itself should be able to serve reads while we're syncing and applying changes to the WAL. Perhaps there is a serializing lock somewhere that prevents this?