hemantk-12 opened a new pull request, #4697: URL: https://github.com/apache/ozone/pull/4697
## What changes were proposed in this pull request? By default, [DBStore object gets created with compaction log enabled](https://github.com/apache/ozone/blob/b5ad73aaa8a3a419fdb9cb27d54ea6ee54f71cf0/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java#L560). There is no need for log compaction when loading metadata for snapshots. This change is add `enableCompationDag` to [loadDB()](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java#L545) use it to create DBStore object. Also change the variable name from `enableCompationLog` to `enableCompationDag` because someone can get confused if it is to enable/disable RocksDB compaction. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8577 ## How was this patch tested? Added test for it. -- 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]
