karanmehta93 opened a new issue #2176: Journal scan should throw IOException when it reads negative length URL: https://github.com/apache/bookkeeper/issues/2176 **BUG REPORT** ***Describe the bug*** During journal replay, we can encounter negative length value if there is journal corruption. Currently, due to this bug, we pass negative length to limit a buffer, which throws `IllegalArgumentException`. ***To Reproduce*** Minor bug, good to have for debugging. ***Expected behavior*** Error handling should be done via IOExpection, and it should be thrown instead.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
