gitfy opened a new pull request, #41311:
URL: https://github.com/apache/arrow/pull/41311

   
   ### Rationale for this change
   
   GET calls to s3 is not made using the version id (if available) from the 
HEAD call (which is used to get the content-length). If the version is 
available, using that makes the GET call more reliably return the file data 
without running in to race condition, if a write was intercepted between the 
HEAD and GET. 
   
   ### What changes are included in this PR?
   
   s3fs.cc 
   The changes include capturing the version if available from the HEAD call 
and using it subsequently in the GET requests.
   
   This doesnt need any specific tests. The existing tests should cover for 
regression.
   


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

Reply via email to