ivankelly opened a new pull request #1892: S3BackedInputStream seeks within 
current buffer if possible
URL: https://github.com/apache/incubator-pulsar/pull/1892
 
 
   Previously, any time seek was called, the current buffer was
   discarded, and the next time read was called, a request was made to
   S3. This was very inefficient if using seek a lot (which we do).
   
   This patch changes that behaviour so that if the position sought is
   within the range of the current buffer, we just change the reader
   index on the buffer.
   
   Master Issue: #1511
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to