You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(syncing): use WithTx for index writes (WithSave is now read-only)
main split reader/writer pool connections: Pool.WithSave now acquires a
read-only connection and Pool.WithTx the writer. The maintained-index write
paths (loadStore materialize, shadow-verify sweep) and their test fixtures used
WithSave for INSERT/UPDATE/DELETE, landing on a read-only connection ->
SQLITE_READONLY (the CI failure). Switch all main-DB writes to WithTx; reads and
TEMP-only bodies (loadRBSRStore, collectBlobs) stay on WithSave. Tests use the
file-backed MakeTestDB to avoid in-memory shared-cache schema locking.
Reproduced the failure locally after rebasing onto main, then verified the fix
passes with -race.
0 commit comments