ivankelly opened a new pull request #1739: Allow padding at end of last BlockAwareSegmentInputStream URL: https://github.com/apache/incubator-pulsar/pull/1739 Previous to this patch, we expected that the last block for an offloaded ledger would have its size calculated externally, before writing, and that calculation would be correct to the byte. This is fine, and should be the case in most cases, but in the case where the calculation was off by one, the whole stream breaks. This patch makes BlockAwareSegmentInputStreamImpl more forgiving in terms of block size. If the block size is exact, it works as before, but if the block size is larger than needed, padding is added. 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: us...@infra.apache.org With regards, Apache Git Services