Closed Halimao closed 7 years ago
Looking at the code, I found that the resume starts from 0% as we initially don't know how many parts are uploaded. SDK determines the existing parts at this point in code. For all those parts uploaded before, progress is updated immediately (Code here). So eventhough upload percent starts from 0%, it should quickly get updated to X, percent of upload completed before.
For testing, you can stop the first upload at around 50% and record the time it took. When resumed, observe the time to reach 50% and this should be way less as it is done as soon as SDK determines that the part is already uploaded. Try this and let me know if this is not the behavior.
Thank you very much for recieving your answer, I will try again by following your advice and reply ASAP.
I have try it and it works well now~Thx
Hi, I have meet some puzzle when using aws java sdk.The version of sdk used is 1.11.99. By using spring bean autowired, first initialing AmazonS3 client like below `