errose28 commented on PR #6452: URL: https://github.com/apache/ozone/pull/6452#issuecomment-2024186975
> Is it possible to receive put request for dir creation without trailing slash? I recall the spec being a bit unclear here when we did [HDDS-7594](https://issues.apache.org/jira/browse/HDDS-7594). I can't think of another system that has a client and server that each support directories and allows them to communicate through a protocol that does not support directory creation. If the spec is that an object must be empty and end in a slash to be considered a directory when passing through the client and server S3 layers then this change makes sense. I guess the way to verify this is correct is to check the s3a code and verify that it always translates `mkdir` to an object with a trailing slash in the name, regardless of whether the slash was present in the name provided. If it does not do this, then the config key may be the only way to distinguish the two cases. -- 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]
