rbalamohan opened a new pull request, #1639:
URL: https://github.com/apache/avro/pull/1639

   DataFileReader reads magic information twice. seek(0) is invoked
   twice due to this. In cloud object stores, seeking back to 0 will
   cause it to fall back to "random IO policy". Example of this is
   S3A connector for s3. This causes suboptimal reads in object stores.
   Refactoring in the patch addresses this case by reusing MAGIC.
   
   ### Jira
   https://issues.apache.org/jira/browse/AVRO-3482
   
   ### Tests
   
   - Existing test cases cover this refactoring.
   
   ### Commits
   
   
   ### Documentation
   N/A


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