merlimat commented on issue #2172: Avoid throwing exception when doing 
EntryLogger.internalReadEntry
URL: https://github.com/apache/bookkeeper/pull/2172#issuecomment-537547327
 
 
   > Throwing on different ledger removes the need for the check in the read 
ahead code even. 
   
   Sure, that would be functionally correct, though the exception will be still 
expensive since it will be thrown in a "no-error" code path that gets executed 
a lot of times.

----------------------------------------------------------------
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

Reply via email to