-
Notifications
You must be signed in to change notification settings - Fork 23
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
Failed to upload backup: too large #1719
Comments
Happens continuesly now |
I think the limit is currently set to 20mb? Do you know what file did get so large? |
Needs to be investigated more. The logs are gone now so I don't know which file was too big. |
related to #1637 |
related to #1737 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
By default this is set to 2MB, according to the docs[1]. We need larger bodies than before (even in the e2e test!), because we added lots of CET adaptor signatures to the database recently[2]. I also played around with nginx's `client_max_body_size`, but that's actually irrelevant since we don't use nginx as a reverse proxy for the coordinator in the e2e tests. Related to #1719. [1]: https://docs.rs/axum/latest/axum/extract/struct.DefaultBodyLimit.html#method.disable. [2]: #1817.
Hmm, we might be able to tell SQLite to skip a specific table for backup. We don't need to backup the |
It looks like there is no way telling sqlite to backup only some tables, but its possible to backup only a specific database. So we could add a second database for the non-critical large data, which does not get backed up. |
@luckysori reopening that issue, as I don't think you meant to close it? |
I suppose the fix that we introduced might be enough if a backup chunk never exceeds 50MB (ignoring the fact that the proxy limit is set to 20MB). But a 50MB chunk is already massive and we definitely want to bring that down. |
He actually did fix it here: 2dccdd8 |
Oh nice, I've missed that 🙂 |
just noticed locally:
The text was updated successfully, but these errors were encountered: