aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

Resuming download with TransferManager not working after JVM restart (AWS SDK 1.12.180)

Open rmleme opened this issue 3 years ago • 0 comments

Describe the bug

Reopening issue 1351: "Resuming download with TransferManager not working after JVM restart".

Issue 1351 was noticed at version 1.11.118 of AWS SDK.

According to @debora-ito comment: "Try the newer versions of the SDK and please reopen if you are still seeing this."

I retested with version 1.12.180 but the issue still remains. As I'm unable to reopen the original issue, I'm opening a new one.

Expected behavior

Even after a JVM crash, a given download should resume from the latest snapshot.

Current behavior

The download is always restarting from the beginning.

Steps to Reproduce

https://github.com/aws/aws-sdk-java/issues/1351#issuecomment-341036256

Possible Solution

No response

Context

I'm trying to create a reliable Kotlin S3 client, capable of resuming a download from the latest snapshot after a JVM crash, instead of restarting the download from the beginning.

AWS Java SDK version used

1.12.180

JDK version used

OpenJDK 64-Bit Server VM (build 17.0.2+8-Ubuntu-120.04, mixed mode, sharing)

Operating System and version

Ubuntu 20.04.4 LTS

rmleme avatar Mar 26 '22 01:03 rmleme