hemantk-12 opened a new pull request, #4401: URL: https://github.com/apache/ozone/pull/4401
## What changes were proposed in this pull request? Problem: As part of jira-[HDDS-7873](https://issues.apache.org/jira/browse/HDDS-7873), we added an optimization to early prune out SST files that won't be needed for compaction DAG base snap diff. More details in [PR-4235](https://github.com/apache/ozone/pull/4235). Files are removed from back dir but compaction logs don't get updated because those are needed for DAG traversal based diffing. On OM restart, we count number of keys in the file present in compaction log. It is possible that file has been deleted due to above optimization which is causing OM crash. This change is to log the exception instead throwing exception on OM restart. It will not affect Compaction DAG based snap diff because If file is not present during diff, it will throw the `FileNotFoundException`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8069 ## How was this patch tested? Unit tests. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
