-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Platform] Restore of large number of keyspaces/tables fails with '413 Request Entity Too Large' #6817
Comments
thx for reporting the issue here, @tvesely ! |
@sb-yb I'm assigning this to you as part of the API interface work you're doing for sending/receiving backups since this will most likely have to be bumped up higher than 300kb to receive backup files. |
This one is actually unrelated to sending and receiving backups. Its not some big file but just a json node in request body. So content type is For other issue I am using So similar but not same issues and hence will fix in separate PRs. |
Summary: Bumping up maxMemoryBuffer allocated by play framework to read the request payload. Also introduce common config to tackle overriding `reference.conf` of other libraries. Test Plan: - Unit test added to test the limit has increased and enforced. - Built yb_release ran yugaware and checked the logs for value of maxMemoryBuffer that is resolved: ``` $ ls conf/*.common.conf conf/application.common.conf $ $ grep -o maxMemoryBuffer........ logs/application.log maxMemoryBuffer":"500k" maxMemoryBuffer":"500k" ``` Reviewers: arnav, sanketh, spotachev, daniel Reviewed By: daniel Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10386
Summary: Bumping up maxMemoryBuffer allocated by play framework to read the request payload. Also introduce common config to tackle overriding `reference.conf` of other libraries. Test Plan: - Unit test added to test the limit has increased and enforced. - Built yb_release ran yugaware and checked the logs for value of maxMemoryBuffer that is resolved: ``` $ ls conf/*.common.conf conf/application.common.conf $ $ grep -o maxMemoryBuffer........ logs/application.log maxMemoryBuffer":"500k" maxMemoryBuffer":"500k" ``` Reviewers: arnav, sanketh, spotachev, daniel Reviewed By: daniel Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10386
The default value for
play.http.parser.maxMemoryBuffer
in the yugabyte server is too small to process a restore request of around 100 tables.Reproduction Steps:
Universe backup
api/v1/customers/<uuid>/universes/<uuid>/backups/restore
fails with413 Request Entity Too Large
The issue can be worked around by adding the
play.http.parser.maxMemoryBuffer
setting inapplication.docker.conf
The text was updated successfully, but these errors were encountered: