-
Notifications
You must be signed in to change notification settings - Fork 886
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
Auto resume multi-part upload not working after restarting the app using transfer utility #3474
Comments
@palpatim I used to have 2.19.1 and now i updated the SDK to the latest 2.23.2
And the issue remains when initializing transferUtility
yet upon investigation seems like |
Thanks for clarifying. We'll need to dig into this more then. |
Hello, any update? same here, transferUtility?.getMultiPartUploadTasks().result returns always empty. I checked it in s3 sdk' DB "transfer_utility_database", it does contain data of paused transferred task. |
@huluyige & @Faisal666 See the attached sample project. It is a SwiftUI app which runs a multipart upload task which can resume after the app has been restarted while an upload is in progress. It works using a new addition of In the sample project below see the README.md for instructions. |
Note: The behavior for auto-resume was likely improved with #3794 which corrected the absolute path which was stored for multipart uploads which changes on each app launch. |
The next release will include improvements which will help with auto-resume. |
Released: v2.26.2 |
Describe the bug
Auto resume multi-part upload not working after restarting the app using transfer utility with key, I've tried looking for similar issues to this and applied solution provided but none seems to work, as far as I read some says it upload automatically after giving the same parameters on the in-completed uploads and others say i need to iterate through tasks in and fire .resume(), it didn't do the trick for both approaches.
To Reproduce
Steps to reproduce the behavior:
Observed Behavior
.resume() does nothing shows this error on logs specified in Relevant Console Output section
Expected Behavior
to resume uploading where it left before closing the app
Code Snippet
Transfer utility configuration:
Transfer utility register & start upload:
Transfer utility resume upload
SDK used: AWSS3
Environment(please complete the following information):
Device Information (please complete the following information):
physical device
Relevant Console Output
The text was updated successfully, but these errors were encountered: