ivankelly commented on a change in pull request #1841: Fix flaky test with s3
backend
URL: https://github.com/apache/incubator-pulsar/pull/1841#discussion_r190538380
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/s3offload/S3ManagedLedgerOffloader.java
##########
@@ -172,9 +172,13 @@ static String indexBlockOffloadKey(long ledgerId, UUID
uuid) {
.withUploadId(dataBlockRes.getUploadId())
.withPartETags(etags));
} catch (Throwable t) {
+ try {
+ s3client.abortMultipartUpload(
+ new AbortMultipartUploadRequest(bucket, dataBlockKey,
dataBlockRes.getUploadId()));
+ } catch (Throwable throwable) {
+ log.error("Failed abortMultipartUpload ", throwable);
Review comment:
Put the upload id, bucket and key into the log message
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services