You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/10 06:31:23 UTC

[GitHub] [ozone] ChenSammi edited a comment on pull request #2432: HDDS-5393. Return latest version of key location for client on createKey/createFile

ChenSammi edited a comment on pull request #2432:
URL: https://github.com/apache/ozone/pull/2432#issuecomment-895764452


   I revisted aws s3 documents, it seems that aws put object API only returns the latest object version-id when versioning is enabled(https://docs.aws.amazon.com/AmazonS3/latest/userguide/AddingObjectstoVersioningEnabledBuckets.html) , and return null when versioning is disabled. 
   So I feel like we can make this " Return latest version of key location for client on createKey/createFile" a common logic, no need to depends on the getLatestVersionLocation value.  It is more closer to the aws s3 behavior. 
   For getLatestVersionLocation is used for key retrieve under versioning case, like the listObject in https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-objects-versioned-bucket.html.  
   
   
   
   


-- 
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: issues-unsubscribe@ozone.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org