hangc0276 commented on code in PR #3948:
URL: https://github.com/apache/bookkeeper/pull/3948#discussion_r1188052219
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/DefaultEntryLogger.java:
##########
@@ -1036,6 +1036,9 @@ public EntryLogMetadata getEntryLogMetadata(long
entryLogId, AbstractLogCompacto
// entry log
try {
return extractEntryLogMetadataFromIndex(entryLogId);
+ } catch (FileNotFoundException ex) {
Review Comment:
This exception will be thrown by `extractEntryLogMetadataByScanning`, and I
don't think it is necessary to catch the exception here.
--
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]