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

Wei-Chiu Chuang commented on HDDS-8599:
---------------------------------------

[~swamirishi] this is an old ticket and I believe this is going to be taken 
care of by HDDS-12562?

> [Snapshot] Performance impact for key & directory deleting service
> ------------------------------------------------------------------
>
>                 Key: HDDS-8599
>                 URL: https://issues.apache.org/jira/browse/HDDS-8599
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sumit Agrawal
>            Priority: Critical
>
> Scenario:
>  # Huge number of keys and directories are created in bucket (FSO)
>  # Snapshot is taken for the bucket
>  # Recursive delete of keys and directory
>  # keys and directories are added to deletedTable and deletedDirectoryTable
> KeyDeletingService:
>  * iterator all keys in deleted Table
>  ** if keys are present in snapshot, its skipped
>  ** else added for blockGroupList for deletion
> DirectoryDeletingService:
>  * iterator all directory in deleted directory table
>  ** if directory is present in snapshot, its skipped
>  ** else perform further action for deletion
> So if number of keys and directory are huge, it will keep iterating always to 
> get candidate keys/directory for deletion.
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to