ivankelly opened a new pull request #1807: In S3 offloader, dont use 
InputStream#available for stream length
URL: https://github.com/apache/incubator-pulsar/pull/1807
 
 
   According to the javadoc, available() returns the number bytes that
   can be read without blocking. It is _not_ the total length of the
   stream. While this currently works for the index as it's backed by a
   byte buffer, we shouldn't rely on implicit assumptions like that.
   
   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