Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the feature/fix?
Fix: Improve Resource Proxy for Large File Dump/Restore Operations
This update improves the resource proxy to handle large file dump and restore operations in v2. Previously, when using
convox resources proxy
for locally proxied resources, sessions would disconnect during large data operations. With this fix, Convox resource databases can now handle larger operations reliably, ensuring stable connections throughout the process.Why is this important?
Before this fix, users attempting to run large database dumps or restores over a proxied resource would often experience session disconnections, limiting the ability to manage large datasets in local development environments. This update resolves the issue, allowing stable connections for larger data transfers through the proxy.
Does it have a breaking change?
There are no breaking changes introduced with this fix.
How to use/test it?
Update your rack to version
20240909145100
or later:Proxy the resource and test by running large file dump or restore operations:
The session should remain stable throughout the operation.
Requirements
To use this fix, you must be on at least rack version
20240909145100
.You can check your rack's version with the command
convox rack -r rackName
.Update your rack to the latest version with the command
convox rack update -r rackName
.