Vanlightly opened a new pull request #2909: URL: https://github.com/apache/bookkeeper/pull/2909
### Motivation Throwing a NoEntryException from the entry logger for an entry that the index says should exist is unsafe. It can cause ledger truncation during ledger recovery. It only takes a single false NoSuchEntry response to trigger truncation. NoEntryException should only be thrown from inside ledger storage if the entry is not found in the index. ### Changes Do not throw NoEntryException from EntryLogger on failing to read entry from log file, throw IOException instead. Master Issue: #2908 -- 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]
