[ https://issues.apache.org/jira/browse/HDFS-11594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949822#comment-15949822 ]
Anu Engineer commented on HDFS-11594: ------------------------------------- [~xyao] Something to consider when we integrate Ratis. The compact DB call is there and we should certainly compact when we close the container. Should we do it for open containers, I am not sure. if we keep the deleted keys count at per container level, it might allow us to decide if we need to comapct DB at all. > Ozone: close container should call compactDB > --------------------------------------------- > > Key: HDFS-11594 > URL: https://issues.apache.org/jira/browse/HDFS-11594 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Reporter: Anu Engineer > Assignee: Anu Engineer > Attachments: HDFS-11594-HDFS-7240.001.patch > > > Closing a container should call compactDB to compact the LevelDB. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org