You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by GitBox <gi...@apache.org> on 2021/08/05 07:56:27 UTC

[GitHub] [jclouds] timuralp commented on a change in pull request #118: Store the MPU ETag for the transient blobstore

timuralp commented on a change in pull request #118:
URL: https://github.com/apache/jclouds/pull/118#discussion_r683218390



##########
File path: blobstore/src/main/java/org/jclouds/blobstore/TransientStorageStrategy.java
##########
@@ -193,7 +195,14 @@ public String putBlob(final String containerName, final Blob blob, BlobAccess ac
          Closeables2.closeQuietly(input);
       }
 
-      Blob newBlob = createUpdatedCopyOfBlobInContainer(containerName, blob, payload, actualHashCode);
+      String eTag = null;
+      if (blob.getMetadata() != null) {
+         eTag = blob.getMetadata().getETag();
+      }
+      if (eTag == null || !MPU_ETAG_FORMAT.matcher(eTag).matches()) {

Review comment:
       That's fair. Removed the format check.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org