GeorgeJahad opened a new pull request #2509:
URL: https://github.com/apache/ozone/pull/2509


   
   ## What changes were proposed in this pull request?
   
   When running the [s3 compatibility 
tests](https://github.com/apache/ozone/tree/master/hadoop-ozone/dist/src/main/smoketest/s3/s3_compatbility_check.sh),
 I noticed AWS ignores invalid date strings in the copy-source-parameters, 
(copySourceIfModifiedSince, and copySourceIfUnmodifiedSince) of the 
upload-part-copy cmd.
   
   Date strings in the future are also considered invalid.
   
   I was unable to find anything that documented this behaviour explicitly.  
I'm just going on the results from the compatibility test.
   
   @kerneltime  mentioned that rfc2616 describes the behaviour for a similiar 
header parameter: 'If-Modified-Since' in section [14.25]( 
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25)
   
   That seems to be what AWS is basing their implementation on.
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5523
   
   ## How was this patch tested?
   
   Ran the s3 compatibility tests against aws as well as s3 gateway. 
   


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