[ 
https://issues.apache.org/jira/browse/HDDS-9333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767741#comment-17767741
 ] 

Aswin Shakil commented on HDDS-9333:
------------------------------------

Looking at the code, I think it should be fine to use Active DB's {{{}Key 
Manager{}}}. Because the directory is already deleted, iterating over Active DB 
or Snapshot DB would yield the same result as we can't add or delete anything 
inside the directory. I'm not sure if there are any other side effects to using 
Active DB instead of Snapshot DB. But it is better to use Snapshot DB for this 
purpose so that we don't mess up anything on Active DB.

> Snapshot should use snapshot's keyManager in 
> optimizeDirDeletesAndSubmitRequest
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-9333
>                 URL: https://issues.apache.org/jira/browse/HDDS-9333
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: OM, Snapshot
>            Reporter: Aswin Shakil
>            Assignee: Aswin Shakil
>            Priority: Critical
>              Labels: ozone-snapshot, pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to