anmolanmol1234 commented on code in PR #6025:
URL: https://github.com/apache/hadoop/pull/6025#discussion_r1328709756
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/StorageInterfaceImpl.java:
##########
@@ -425,14 +446,18 @@ public CopyState getCopyState() {
@Override
public void startCopyFromBlob(CloudBlobWrapper sourceBlob,
BlobRequestOptions options,
- OperationContext opContext, boolean overwriteDestination)
+ OperationContext opContext, boolean
overwriteDestination, String destEtag)
throws StorageException, URISyntaxException {
AccessCondition dstAccessCondition =
- overwriteDestination
- ? null
- : AccessCondition.generateIfNotExistsCondition();
+ overwriteDestination
+ ? null
+ : AccessCondition.generateIfNotExistsCondition();
+ if (!overwriteDestination && destEtag != null) {
Review Comment:
My bad, corrected it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]