Skip to content

Commit 3f8c20e

Browse files
committed
Review feedback
1 parent 9604df1 commit 3f8c20e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3RetryingInputStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
* Wrapper around an S3 object that will retry the {@link GetObjectRequest} if the download fails part-way through, resuming from where
3939
* the failure occurred. This should be handled by the SDK but it isn't today. This should be revisited in the future (e.g. before removing
4040
* the {@link Version#V_7_0_0} version constant) and removed when the SDK handles retries itself.
41+
*
42+
* See https://github.com/aws/aws-sdk-java/issues/856 for the related SDK issue
4143
*/
4244
class S3RetryingInputStream extends InputStream {
4345

@@ -144,7 +146,7 @@ public long skip(long n) {
144146
}
145147

146148
@Override
147-
public synchronized void reset() {
149+
public void reset() {
148150
throw new UnsupportedOperationException("S3RetryingInputStream does not support seeking");
149151
}
150152

0 commit comments

Comments
 (0)