SaketaChalamchala opened a new pull request, #9827: URL: https://github.com/apache/ozone/pull/9827
## What changes were proposed in this pull request? Currently when installing checkpoint from the leader, the downloaded checkpoint is opened to validate that the checkpoint's txn info is greater that the DB's. Since, the checkpoint DB is opened in read/write mode rocksDB auto-compaction can happen inside the checkpoint directory. In OMs case, compaction listeners/DAG is not enabled when opening the OM DB in the checkpoint directory so, compaction event is not added to compactionLogTable and the L0 SST files are not backed up to SST backup directory. This would affect the performance if the target OM were to serve snapdiff involving the deleted L0 SST files (full diff would be performed instead of efficient diff). Proposed solution is to open the checkpoint DB in read-only mode. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14719 ## How was this patch tested? Existing tests should run. -- 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]
