You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/10/11 01:21:30 UTC

[GitHub] [bookkeeper] karanmehta93 opened a new issue #2176: Journal scan should throw IOException when it reads negative length

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:
users@infra.apache.org


With regards,
Apache Git Services