lhotari commented on issue #18580:
URL: https://github.com/apache/pulsar/issues/18580#issuecomment-1325079109
btw. it looks like an easy fix in BlobStoreBackedInputStreamImpl.available .
naive fix:
```
@Override
public int available() throws IOException {
long available = objectLen - cursor + buffer.readableBytes();
return available > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int)
available;
}
```
`available()` should return "an estimate of the number of bytes that can be
read (or skipped over) from this input stream without blocking."
--
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]