aws-sdk-s3 1.245.0 → 1.245.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +3 -2
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec250d6f6f14cbff029cfddabf7c69dc92b5ff485e167c07c149c8d786fdac3a
|
|
4
|
+
data.tar.gz: e06d2e4951d230ebfc6ed906c48074f3c08158bfa8384a930b4cbed34bd284e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ba583b8b02b5a6742fb4656be51e160e0bef8d0ac2b3a18d06aa9f2e5389c9b68162c930411a0ed09070ec27de652e4e07f7c1febbbda4b16176a38394cf889
|
|
7
|
+
data.tar.gz: d62156921fae607a654ce7428d85e8a7ec5b8d95e81e871a56f829bfa57d078c57de29281a3098350c02f59635d6ab04455bd71bf18ee85f0438c8a0e6248d5e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.245.1 (2026-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Issue - Fix `upload_file` raising `NoMethodError` instead of `MultipartUploadError` on JRuby when several parts fail at the same time.
|
|
8
|
+
|
|
4
9
|
1.245.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.245.
|
|
1
|
+
1.245.1
|
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -24278,7 +24278,7 @@ module Aws::S3
|
|
|
24278
24278
|
tracer: tracer
|
|
24279
24279
|
)
|
|
24280
24280
|
context[:gem_name] = 'aws-sdk-s3'
|
|
24281
|
-
context[:gem_version] = '1.245.
|
|
24281
|
+
context[:gem_version] = '1.245.1'
|
|
24282
24282
|
Seahorse::Client::Request.new(handlers, context)
|
|
24283
24283
|
end
|
|
24284
24284
|
|
|
@@ -144,6 +144,7 @@ module Aws
|
|
|
144
144
|
completion_queue = Queue.new
|
|
145
145
|
abort_upload = false
|
|
146
146
|
errors = []
|
|
147
|
+
mutex = Mutex.new
|
|
147
148
|
progress = MultipartProgress.new(pending, options[:progress_callback])
|
|
148
149
|
|
|
149
150
|
while (part = pending.shift)
|
|
@@ -160,7 +161,7 @@ module Aws
|
|
|
160
161
|
# Any error, or the upload completes without this part.
|
|
161
162
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
|
162
163
|
abort_upload = true
|
|
163
|
-
errors << e
|
|
164
|
+
mutex.synchronize { errors << e }
|
|
164
165
|
ensure
|
|
165
166
|
p[:body].close
|
|
166
167
|
Thread.current[:net_http_override_body_stream_chunk] = nil if @http_chunk_size
|
|
@@ -169,7 +170,7 @@ module Aws
|
|
|
169
170
|
queued_parts += 1
|
|
170
171
|
rescue StandardError => e
|
|
171
172
|
# Rejected by the executor; abort rather than orphan the upload.
|
|
172
|
-
errors << e
|
|
173
|
+
mutex.synchronize { errors << e }
|
|
173
174
|
break
|
|
174
175
|
end
|
|
175
176
|
end
|
data/lib/aws-sdk-s3.rb
CHANGED