-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
row size limit? getting "Error: disk I/O error" from dqlite-demo #432
Comments
Thanks for your submission, we'll have a look. Can reproduce it reliably too, so this definitely looks like a bug. The first |
I can also reproduce this, now trying to figure out which sqlite3 API call is failing. |
It's this one, I think: Line 343 in fdf7742
Trying to step into that call but GDB is being difficult... |
The err is |
Indeed, seems like we are hitting the |
just checking in to see if there are any progress with this? |
@nickchen, I haven't identified the root cause of the issue yet; I'll try to work on this some more today. |
I have time to work on this after all. Here is a backtrace:
What seems to happen is that a large enough value triggers the "overflow" condition in SQLite's |
Apparently I was wrong -- the WAL index does get updated following the checkpoint, and if you inspect it just before the |
Actually, it seems a bunch of frames are written to the WAL between the end of the checkpoint and the point where the error occurs, as part of the second EXEC, so it shouldn't be empty! But somehow when that vfsWalRead call happens, it doesn't find any frames. Edit: Ahhh, the frames that are written to the WAL after the checkpoint are all part of a transaction, so they go into the Lines 840 to 842 in ee7a3cd
|
nice! when's the planned release for this? |
@MathieuBordere are we ready to tag v1.13.0, or would you like to give disk mode some more time to cook? |
I would have liked it to simmer a bit longer, we could do a release early next week? |
is there a row byte size limit?
libuv=1.44.2, libraft=0.15.0, sqlite3=3.39.4, dqlite=1.11.1
running the dqlite-demo with following
server
client
The text was updated successfully, but these errors were encountered: