gaozhangmin opened a new pull request, #3948:
URL: https://github.com/apache/bookkeeper/pull/3948

   In the getEntryLogMetadata method, the FileNotFoundException exception is 
caught before the more general Exception. This modification ensures that if the 
log file is not found, there is no need to proceed with the 
extractEntryLogMetadataByScanning(entryLogId, throttler) method call.
   
   This enhancement improves the code's error handling by distinguishing 
between different exceptions that may occur during the retrieval of entry log 
metadata. It ensures that unnecessary operations, scanning the log, are skipped 
when the log file is not found.


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

Reply via email to