Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize getEntryLogMetadata (#3948)
###Motivation 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. (cherry picked from commit 69f27b7)
- Loading branch information