mladjan-gadzic opened a new pull request, #4448:
URL: https://github.com/apache/ozone/pull/4448

   ## What changes were proposed in this pull request?
   
   s3g currently says:
   - /volume/bucket/dir/  exists.
   - /volume/bucket/dir  exists.
   
   s3a is expecting:
   - /volume/bucket/dir/  exists.
   - /volume/bucket/dir  does not exist.
   
   Proposed is an implementation to resolve the issue and to cover corner cases 
to support fso folders over s3g by modifying the s3g ObjectEndpoint to check 
whether the requested path is a directory, if so, to only return ok if path has 
trailing '/'.  This would support s3 Head requests and Get requests.  The type 
of object, where file or directory is determined in the head-object and 
get-object request through checking the keyInfo (modifying the OzoneKey and 
OzoneKeyDetails) isFile().
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7922
   
   ## How was this patch tested?
   
   - manual
   - unit
   - smoke
   


-- 
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]

Reply via email to