go-libsql icon indicating copy to clipboard operation
go-libsql copied to clipboard

Sync Error: `database is locked`

Open levydsa opened this issue 8 months ago • 4 comments

error code = 1: Error syncing database: sync error: failed to push frame: status=503 Service Unavailable, error={"error":"SQLite error: max_frame_no failed: database is locked"}

levydsa avatar Jun 03 '25 16:06 levydsa

Do you have a set syncInterval? I just tried to add it and I get the same error now

ShiftMateAU avatar Jun 04 '25 08:06 ShiftMateAU

@ShiftMateAU It only happens with sync interval enabled?

levydsa avatar Jun 05 '25 21:06 levydsa

This occurs when you try to write using multiple go routines

jtruter7777 avatar Jun 10 '25 06:06 jtruter7777

@ShiftMateAU It only happens with sync interval enabled?

For me it does. If I leave it out of the config I don't get the error

ShiftMateAU avatar Jun 16 '25 00:06 ShiftMateAU