You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hemant Kumar (Jira)" <ji...@apache.org> on 2023/05/10 03:23:00 UTC

[jira] [Created] (HDDS-8577) Disable compaction log while load metadata for snapshot

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org