-
Notifications
You must be signed in to change notification settings - Fork 485
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
v2: Next major version #672
Conversation
* Add first draft of parallel upload queue * s3store: Use queue for parallel uploads * Revert "Add first draft of parallel upload queue" This reverts commit 86a329c. * Revert "s3store: Use queue for parallel uploads" This reverts commit 29b59a2. * s3store: Cache results from listing parts and checking incomplete object * s3store: Remove debugging output` * s3store: Make requests for fetching info concurrently * s3store: Make parallel uploads work and tests pass * s3store: Add semaphore package * s3store: Add comments to semaphore package * s3store: Encapsulate more logic into s3PartProducer * s3store: Refactor WriteChunk * s3store: Remove TODO * s3store: Acquire lock before uploading * cli: Add flag for setting concurrency limit * s3store: One more comment
* ci: Remove plugin hook handler * Rework error type from interface to struct * Avoid writing to http.ResponseWriter directly * Allow hooks to modify response * Add example for HTTP hooks using Python * Implement new plugin system using Hashicorp/go-plugin * Enable returning partial HTTPResponses * Remove some (unnecessary) error handling * Forward stdout and stderr from plugin to tusd * docs: Update examples * cli: Update filehooks to new system * cli: Renovate gRPC hooks * docs: Correct casing of gRPC * misc: Documentation, better examples, and code structure
* handler: Implement prototype of new locking back-end * memorylocker2: Switch to channel for release notification * handler: Update locker interface * handler: Add method to close body with error * memorylocker: Replace with new implementation * filelocker: Adjust methods to match interface * handler: Introduce new httpContext * handler: Implement upload interruption * handler: Adjust tests to new inferfaces * handler, memorylocker: Cancel context to avoid leaks
Somewhere in your checklist, you should also add Currently the
|
Thanks for the hint, @oliverpool. We need to look into this, you are right. |
This reverts commit 998a87d.
s3store: Upgrade to AWS Go SDK v2
There are still some TODOs, but they can be addressed once this has been merged in main. |
Tasks to be done:
General
Hooks
pkg/
Locking
Adapt implementation at tusd-etcd-lockerS3
file already closed
error (Close is already called by HTTP transport)Testing
Release