Hemant Kumar created HDDS-8577:
----------------------------------
Summary: Disable compaction log while load metadata for snapshot
Key: HDDS-8577
URL: https://issues.apache.org/jira/browse/HDDS-8577
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Hemant Kumar
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.
loadDB() should accept `enableCompationLog` as parameter and use that when
create DBStore object. This should be true when loading metadata for active
object store and false for snapshot metadata.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]